![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
gaochenglong1
这个作者很懒,什么都没留下…
展开
-
vue项目里各个文件说明
目录文件说明 ├─dist 生产环境打包目录`npm run buil` ├─test 预发布环境(测试)打包目录`npm run test` ├─public 项目根目录 ...原创 2019-12-02 18:43:05 · 1147 阅读 · 0 评论 -
Vue基础之export的作用
export default 向外暴露的成员,可以使用任意的变量来接收 在一个模块中,export default只允许向外暴露一次 在一个模块中,可以同时使用export default 和 export向外暴露成员 // test.vue export default { address:'深圳' } export var title = '星星' export...原创 2019-12-02 18:25:32 · 22182 阅读 · 0 评论 -
使用vue时遇到的问题1
npm 报错This is probably not a problem with npm. There is likely additional logging output above. 1 可能是版本的问题 重新 npm install 然后 npm i -D webpack-dev-server@3.0.0 再 npm run dev 重新安装一次,如果还是不可以的话,在把...原创 2019-11-27 14:50:27 · 112 阅读 · 0 评论 -
详解VueJs中的V-bind指令
引子 v-bind 主要用于属性绑定,Vue官方提供了一个简写方式 :bind,例如: ? 1 2 3 4 <!-- 完整语法 --> <a v-bind:href="url"></a> <!-- 缩写 --> <a :href="url"></a...原创 2019-11-19 20:50:15 · 318 阅读 · 0 评论