vue-admin-template
vue-admin-template,基于vue-element-admin的一套后台管理系统基础模板(最少精简版),只包含了 Element UI & axios & iconfont & permission control & lint。
克隆项目 && 安装依赖 && 启动项目
git clone https://github.com/PanJiaChen/vue-admin-template.git
cd vue-admin-template
npm install
npm run dev
vue-element-admin
vue-element-admin,基于Vue.js和Element UI的后台前端框架,专为中大型企业级应用而生。
关键技术和框架:Vue.js: 项目的基础框架,用于构建用户界面;Element UI: 一个基于 Vue.js 的 UI 组件库,提供丰富的 UI 组件;Vue Router: 用于管理应用的路由;Vuex: 用于状态管理;Axios: 用于处理 HTTP 请求;Mock.js: 用于模拟数据请求。
克隆项目
git clone https://github.com/PanJiaChen/vue-element-admin.git
git clone https://github.com/PanJiaChen/vue-element-admin.git --depth=1
进入项目目录
cd vue-element-admin
安装依赖
npm install
npm install --registry=https://registry.npm.taobao.org
安装报错:
-------------------------------------------------------------------------------------
7642 verbose Windows_NT 10.0.22631
7643 verbose node v18.12.1
7644 verbose npm v9.5.0
7645 error code 128
7646 error A git connection error occurred
7647 error command git --no-replace-objects ls-remote ssh://git@github.com/adobe-webplatform/eve.git
7648 error ssh: connect to host github.com port 22: Connection timed out
7648 error fatal: Could not read from remote repository.
-------------------------------------------------------------------------------------
解决方案:
执行SSH命令测试是否 连接成功: ssh -T git@github.com
配置中把“ssh://”替换为“https://”: git config --global url."https://".insteadOf "ssh://"
-------------------------------------------------------------------------------------
本地开发,启动项目
npm run dev
构建项目
npm run build:prod
electron-vue-admin
electron-vue-admin是一个基于 Electron 和 Vue.js 的现代化桌面应用程序模板。源自vue-admin-template,使用electron-vue和 vue-cli进行构建和管理,提供功能丰富的跨平台管理界面。该框架集成了Electron的强大功能,提供了原生的桌面应用体验,同时利用Vue.js的灵活性和响应式特性,使得前端开发更为简单高效。
GIT命令参数设置
# 全局配置——配置代理
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
# 全局配置——取消配置代理
git config --global --unset http.proxy
git config --global --unset https.proxy
# 全局配置——查看
git config --global --list
# 所有的HTTPS操作都不再进行SSL验证
git config --global http.sslVerify "false"
# 使用的HTTP协议设置
git config --global http.version HTTP/1.1
git config --global http.version HTTP/2
# 增加Git的HTTP缓冲区大小,设置http.postBuffer配置来实现,这里设置为:设置为500MB
git config --global http.postBuffer 524288000
git config http.postBuffer 524288000