vue-element-admin
Github 地址:https://github.com/PanJiaChen/vue-element-admin
Github 地址:(中文)https://github.com/PanJiaChen/vue-element-admin/tree/i18n
Demo体验:https://panjiachen.github.io/vue-element-admin/#/dashboard
说明手册:https://panjiachen.github.io/vue-element-admin-site/zh/guide/#%E5%8A%9F%E8%83%BD
直接下载后执行npm install
,控制台报错:
npm ERR! Error while executing:
npm ERR! D:\git\Git\bin\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git
npm ERR!
npm ERR! fatal: unable to connect to github.com:
npm ERR! github.com[0: 20.205.243.166]: errno=Unknown error
npm ERR!
npm ERR!
npm ERR! exited with error code: 128
尝试了好几种办法,修改.gitconfig文件,配置过tb镜像,也重新配置过GitHub的ssh,还是未能解决,最后参考了一篇直接删除依赖的文章,删除完就解决了。
解决方案:
1、打开package.json把"tui-editor"删掉
2、删除"tui-editor"相关路由、components,具体文件地址如下:
-
路由位置:
src/router/modules/components.js 搜索markdown,把相应路由代码删除 -
components位置:
src/components/MarkdownEditor
删除后,再执行npm install
或 npm install --registry=registry.npm.taobao.org
下载并运行成功!
资源
若无法调试成功,可访问如下资源(已调试好,下载后可直接运行):