摘要:
1 import Home from '../views/Home.vue' { path: '/', name: 'Home', component: Home }, 2 { path: '/about', name: 'About', component: () => import('../vi 阅读全文
posted @ 2021-04-15 23:15
容我看看这世界啊
阅读(266)
评论(0)
推荐(0)
摘要:
1,安装Vetur 2,新建用户片段 *文件扩展名.json 3,编写新模板 *vue3为 关键字 { "Print to console": { "prefix": "vue3", "body": [ "<!-- $1 -->", "<template>", " <div class='$2'>$ 阅读全文
posted @ 2021-04-15 23:05
容我看看这世界啊
阅读(126)
评论(0)
推荐(0)
摘要:
1,创建项目 vue create 项目名称2,选项 ? Please pick a preset: (Use arrow keys)default (babel, eslint) // 默认选项Manually select features // 手动选择功能 ? Your connection 阅读全文
posted @ 2021-04-15 10:09
容我看看这世界啊
阅读(357)
评论(0)
推荐(0)
摘要:
npm config set prefix D:\node\node_global 设置全局node_global的路径 npm config get prefix 查看全局node_global的路径 npm config set cache D:\node\node_cache npm inst 阅读全文
posted @ 2021-04-15 09:27
容我看看这世界啊
阅读(35)
评论(0)
推荐(0)
摘要:
Django出现(urls.W005) URL namespace 'admin' isn't unique. You may not be able to reverse all URLs in this namespace urls.py中 将重复的 admin.site.urls 注释 阅读全文
posted @ 2021-04-15 00:28
容我看看这世界啊
阅读(176)
评论(0)
推荐(0)
摘要:
端口冲突 阅读全文
posted @ 2021-04-15 00:25
容我看看这世界啊
阅读(33)
评论(0)
推荐(0)
摘要:
main.js import Axios from 'axios' Vue.prototype.$axios = Axios; Axios.defaults.baseURL = '/api'; Axios.defaults.headers.post['Content-Type'] = 'applic 阅读全文
posted @ 2021-04-15 00:22
容我看看这世界啊
阅读(114)
评论(0)
推荐(0)

浙公网安备 33010602011771号