摘要: 在编写vue文件中引入模块 import model from "@/common/model"; 这里路径前面的“@”符号表示什么意思? resolve: { // 自动补全的扩展名 extensions: ['.js', '.vue', '.json'], // 默认路径代理 // 例如 imp 阅读全文
posted @ 2019-12-22 16:20 jeff_zhu 阅读(2697) 评论(0) 推荐(2)
摘要: 问题 相信很多人在用Vue使用别人的组件时,会用到 Vue.use() 。例如:Vue.use(VueRouter)、Vue.use(MintUI)。但是用 axios时,就不需要用 Vue.use(axios),就能直接使用。那这是为什么 答案 因为 axios 没有 install。什么意思呢? 阅读全文
posted @ 2019-12-22 10:16 jeff_zhu 阅读(2037) 评论(0) 推荐(0)