项目创建初始化
D:\Tool\mysql\education_vue 这个路径下cmd
或打开vscode,把项目丢进code中打开
安装element plus
Container 布局容器 | Element Plus
npm install element-plus --save
把项目初始文件Homeview AboutView删了,Router index.js中删一个{},
测试elementplus是否生效
配置路由
一级路由 注意:必须要有路由出口
在App.vue中加<RouterView></RouterView>
路由结束
assets下新建bass文件夹 bass.css,并在main.js中引入