文章分类 -  vue

摘要:// 安装npm以及脚手架: 创建项目: 会出现选项: 进入项目并运行项目: ——此时可以通过访问localhost:8080访问本项目了。 npm --save-dev和--save的区别: --save:生产环境需要的库。比如jq,react,vue都需要放到这里面。存放在package.jso 阅读全文
posted @ 2018-12-23 02:18 小寒1206 阅读(419) 评论(0) 推荐(0)
摘要:// 轮播图:https://github.com/zwhGithub/vue-swiper 安装组件: 使用: template: JS: axios:https://www.kancloud.cn/yunye/axios/234845 安装: 使用方法一:直接在组件中引入并使用: 使用方法二:在 阅读全文
posted @ 2018-10-18 18:22 小寒1206 阅读(160) 评论(0) 推荐(0)
摘要:可查看该系列博客,写的非常好:https://blog.csdn.net/fungleo/article/details/77575077 script方式引入:——带版本的 申明式渲染:{{ }} 绑定式:v-bind 条件与循环:v-if 循环:v-for 处理用户输入: v-on:click 阅读全文
posted @ 2018-10-11 12:39 小寒1206 阅读(128) 评论(0) 推荐(0)