文章目錄
- 前言
- 目標
- 一、使用及場景
- 參考
- 坑
前言
莫將容易得,便作等閑看,
目標
初始化安裝vue-element-admin
一、使用及場景
# 克隆專案
git clone https://github.com/PanJiaChen/vue-element-admin.git
# 進入專案目錄
cd vue-element-admin
# 安裝依賴
npm install
# 建議不要用 cnpm 安裝 會有各種詭異的bug 可以通過如下操作解決 npm 下載速度慢的問題
npm install --registry=https://registry.npm.taobao.org
# 本地開發 啟動專案
npm run dev
參考
https://panjiachen.github.io/vue-element-admin-site/zh/guide/#安裝npm
坑
npm install遇到的問題安裝一直不成功解決辦法
npm install
npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t https://github.com/openplans/Leaflet.AnimatedMarker.git
npm ERR!
npm ERR! fatal: unable to access ' https://github.com/openplans/Leaflet.AnimatedMarker.git/
': error setting certificate verify locations:
npm ERR! CAfile: E:/Program Files/Git/mingw32/ssl/certs/ca-bundle.crt
npm ERR! CApath: none
npm ERR!
npm ERR! exited with error code: 128
npm ERR! A complete log of this run can be found in:
npm ERR!
解決辦法
git config --global http.sslverify "false"
執行后重新
npm install
多留言多點贊你們的只支持是我堅持下去的動力,都支棱起來!!!
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/231052.html
標籤:區塊鏈
