2021年12月29日

四、vue脚手架routes的配置

摘要: npm install vue-router@3.1.3 一、 routes的配置 ①view下新建一个页面 ②route中index.js文件配置路由 ③主页中使用route 效果(右点击后) 阅读全文

posted @ 2021-12-29 23:22 QiKS 阅读(82) 评论(0) 推荐(0)

三、vue脚手架使用axios

摘要: 一、绑定表格数据(已安装element-ui) <template> <div class="student"> <button @click="$router.go(-1)">返回</button> 学生管理模块 {{ msg }} <el-button type="primary">主要按钮</ 阅读全文

posted @ 2021-12-29 23:04 QiKS 阅读(94) 评论(0) 推荐(0)

二、vue脚手架的安装(element-ui安装、axios安装)

摘要: 一、在cnpm已经下载的环境下 二、下载脚手架(全局配置) cnpm i -g @vue/cli 三、文件装配脚手架 vue create my-project(自己起的文件名) 步骤:(当前文件中终端中运行) 二、element-ui的安装 Element,一套为开发者、设计师和产品经理准备的基于 阅读全文

posted @ 2021-12-29 11:26 QiKS 阅读(450) 评论(0) 推荐(0)

导航