摘要:
1.安装router我就不贴代码了,先看看咱们需要实现的功能,点击左侧侧边栏实现中间main的变化 2.在components文件下创建page1 和page2 内容随便写。为了方便,我贴一下代码 3.router目录下的idnex.js 把这两个路由加上 4.app.vue里面使用刚才的路由,为了
阅读全文
posted @ 2020-06-17 18:13
uniapp
阅读(2032)
推荐(0)
编辑
摘要:
第二步输入vue然后点击vue.json 第三步:复制下面代码粘贴进去保存即可 { "Print to console": { "prefix": "vue", "body": [ "<template>", " <div>$0</div>", "</template>", "", "<script
阅读全文
posted @ 2020-06-17 11:26
uniapp
阅读(2225)
推荐(0)
编辑