![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
VUE
文章平均质量分 90
记录菌
变得更强!
展开
-
vue-cli3访问不到public目录下的json数据
vue.config.js 全局配置,vue引用public目录下文件,@vue/cli4(包括3)项目axios请求获取本地json文件数据vue-cli 3 无法访问本地mock测试数据.原创 2022-06-11 12:07:49 · 6623 阅读 · 0 评论 -
npm ERR notarget No matching version found for XXX@^1.3.0.(已解决)
npm ERR! code ETARGETnpm ERR! notarget No matching version found for stackframe@^1.3.0.npm ERR! notarget In most cases you or one of your dependencies are requestingnpm ERR! notarget a package version that doesn't exist.npm ERR! A complete log of this原创 2022-06-06 11:55:45 · 6289 阅读 · 0 评论 -
Vue学习快速入门
Vue会管理el选项命中的元素及其内部的后代元素可以使用其他的选择器,但是建议使用ID选择器可以使用其他的双标签,不能使用HTML和BODY二、本地应用1. Vue指令 Vue指令指的是,以**v-**开头的一组特殊语法使用v-text和{{message}}区别: v-text 会覆盖掉标签内部的内容,而{{message}}只是显示内容,不影响原内容。为元素绑定事件事件名不需要写on指令可以简写为@绑定的方法定义在methods属性中方法内部通过this关键字可以访问定义在da原创 2022-06-06 07:38:02 · 181 阅读 · 0 评论