04 2021 档案
摘要:https://blog.csdn.net/happygjcd/article/details/102649947
阅读全文
摘要:1 import Home from '../views/Home.vue' { path: '/', name: 'Home', component: Home }, 2 { path: '/about', name: 'About', component: () => import('../vi
阅读全文
摘要:1,安装Vetur 2,新建用户片段 *文件扩展名.json 3,编写新模板 *vue3为 关键字 { "Print to console": { "prefix": "vue3", "body": [ "<!-- $1 -->", "<template>", " <div class='$2'>$
阅读全文
摘要:1,创建项目 vue create 项目名称2,选项 ? Please pick a preset: (Use arrow keys)default (babel, eslint) // 默认选项Manually select features // 手动选择功能 ? Your connection
阅读全文
摘要: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
阅读全文
摘要: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 注释
阅读全文
摘要:main.js import Axios from 'axios' Vue.prototype.$axios = Axios; Axios.defaults.baseURL = '/api'; Axios.defaults.headers.post['Content-Type'] = 'applic
阅读全文
摘要:备注https://blog.csdn.net/weixin_43222587/article/details/97628723?utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromMachine
阅读全文
摘要:python manage.py runserver ip:port
阅读全文
摘要:1,npm install 仅安装模块到项目node_modules目录下。 不会将模块依赖写入devDependencies或dependencies 节点。 初始化项目时不会下载模块依赖。2,npm install --save 安装模块到项目node_modules目录下。 会将模块依赖写入d
阅读全文
摘要:vscode 复制到上一行 alt+shift+方向键↑ 复制到下一行 alt+shift+方向键↓
阅读全文
摘要:1,新建.vue文件。 2,打开.vue文件 3,空白的文件开头输入 : 4,在弹出的提示框中选择 <vue> with default.vue
阅读全文

浙公网安备 33010602011771号