摘要: 目录1.在构建的vue3项目中安装vue-router2.创建路由3.挂载router4.配置路由5.使用路由组件6.测试 1.在构建的vue3项目中安装vue-router npm install vue-router --save 2.创建路由 在src/router/index.ts //通过 阅读全文
posted @ 2024-06-03 19:55 Frommoon 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 目录1.在构建的vue3项目中安装element-plus2.导入element-plus3.检验 1.在构建的vue3项目中安装element-plus npm install element-plus --save 2.导入element-plus 在src下的main.ts文件导入 impor 阅读全文
posted @ 2024-06-03 19:35 Frommoon 阅读(7) 评论(0) 推荐(0) 编辑