当前位置: 首页 > Web前端 > vue.js

【Vue后台管理1】vue-admin-template后台模板初始化

时间:2023-03-31 20:54:47 vue.js

Vue后台管理前段时间学习Vue写了一个手机项目https://www.charmcode.cn/app/...然后教程到此结束,总觉得少了点什么,打算自己写一套后台管理。技术栈前端Vue使用模板https://github.com/PanJiaChen...ElementUI后端FastAPI(Python)MySqlvue-admin-template自定义初始化这是一个配套的个人练习https://github.com/CoderCharm...并写后台管理。基于花裤子开源https://github.com/PanJiaChen...后台模板搭建,感谢花裤子。克隆代码gitclonehttps://github.com/PanJiaChen/vue-admin-template.gitfornt修改package.json文件#依赖文件安装修改#个人学习vue晚了,更喜欢npmrunserve来启动."dev":"vue-cli-serviceserve",改为"serve":"vue-cli-serviceserve",#因为我用的webstormeslint一直提示错误,之前搜索的版本太高了"eslint":"^6.7.2",改为"eslint":"^5.6.0",安装并启动#安装依赖npminstall#建议不要直接使用cnpm安装,会出现各种奇怪的bug。解决npm下载速度慢的问题可以通过执行以下npminstall--registry=https://registry.npm.taobao.org#startservicenpmrunserveaddtagsview快速导航(标签栏导航)参考https://github。com/PanJiaChen...也可以直接clone我的v1_init版本初始化界面工程源码地址见个人博客个人博客地址:https://www.charmcode.cn/arti...