上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 89 下一页
摘要: 要使用 <style lang="sass"> 請記得要裝相依的套件 使用scss: <style lang="scss" scoped>.swiper-tab-item { transition: all $time; font-size: 18px; height: 42px; display: 阅读全文
posted @ 2019-06-25 06:48 BloggerSb 阅读(478) 评论(0) 推荐(0)
摘要: element ★9395 - 饿了么出品的Vue2的web UI工具套件 Vux ★6835 - 基于Vue和WeUI的组件库 vueAdmin ★569 - 基于vuejs2和element的简单的管理员模板 element-admin ★60 - 支持 vuecli 的 Element UI 阅读全文
posted @ 2019-06-24 21:13 BloggerSb 阅读(199) 评论(0) 推荐(0)
摘要: 1、 iView UI组件库 iView官网:https://www.iviewui.com/ 2、Vux UI组件库 Vux官网:https://vux.li/ 3、Element UI组件库 Element官网:http://element.eleme.io/#/zh-CN 4、Mint UI组 阅读全文
posted @ 2019-06-24 08:26 BloggerSb 阅读(961) 评论(0) 推荐(0)
摘要: 1. vue异步组件技术 vue-router配置路由,使用vue的异步组件技术,可以实现按需加载。 但是,这种情况下一个组件生成一个js文件。举例如下: 2. es提案的import() 推荐使用这种方式(需要webpack > 2.4) webpack官方文档:webpack中使用import( 阅读全文
posted @ 2019-06-24 07:04 BloggerSb 阅读(868) 评论(0) 推荐(0)
摘要: NPOI生产.xlsx文件件时,在使用book.Write(ms);后,会关闭流,这样导致再次使用Respons输出流的时候就出错了。 造成关闭流的主要原因有时其实是跨域,同域是没有问题的。 原文:https://blog.csdn.net/eit520/article/details/532316 阅读全文
posted @ 2019-06-23 21:51 BloggerSb 阅读(1267) 评论(0) 推荐(0)
摘要: cd到当前项目 运行 npm i element-ui -S main.js添加import ElementUI from 'element-ui'import 'element-ui/lib/theme-default/index.css'Vue.use(ElementUI) vuejs 和 el 阅读全文
posted @ 2019-06-23 08:20 BloggerSb 阅读(320) 评论(0) 推荐(0)
摘要: json变量毛筛选集合: https://www.jianshu.com/p/72021f3a9f05 vue项目笔记 阅读全文
posted @ 2019-06-22 22:20 BloggerSb 阅读(229) 评论(0) 推荐(0)
摘要: Vue动态路由 1、不同路由传值:动态路由 1、配置动态路由 routes: [ // 动态路径参数 以冒号开头 { path: '/user/:id', component: User } ] 2、在对应的页面 this.$route.params获取动态路由的值 var aid=this.$ro 阅读全文
posted @ 2019-06-22 22:19 BloggerSb 阅读(1302) 评论(0) 推荐(0)
摘要: npm install --save vue-resource main.js,输入 import Resource from 'vue-resource' Vue.use(Resource) 相应页面使用: vue-resource的安装及使用 https://blog.csdn.net/weix 阅读全文
posted @ 2019-06-22 22:17 BloggerSb 阅读(167) 评论(0) 推荐(0)
摘要: state,驱动应用的数据源; view,以声明方式将state映射到视图; actions,响应在view上的用户输入导致的状态变化。 store/index.js demo: demo2: https://www.jianshu.com/p/f393bdd3b03d 阅读全文
posted @ 2019-06-22 22:16 BloggerSb 阅读(234) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 89 下一页