Skip to content

santiini/vue-sino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

af5d416 · Oct 10, 2017

History

3 Commits
Sep 28, 2017
Sep 28, 2017
Oct 10, 2017
Sep 28, 2017
Sep 28, 2017
Sep 28, 2017
Sep 28, 2017
Sep 28, 2017
Sep 28, 2017
Sep 28, 2017
Sep 28, 2017
Oct 10, 2017
Sep 28, 2017
Sep 28, 2017
Sep 28, 2017

Repository files navigation

vux-demo

extend vux componnets and plugins

Build Setup

vue-stylus-pug使用时的注意点

pug在vue中的使用

  1. pug中使用vue的自定义指令时,直接使用时报错。解决方法:使用v-transfer-dom时,传入默认参数 v-transfer-dom=""
  .actionsheet(v-transfer-dom="")
  // 而不是
  .actionsheet(v-transfer-dom)

vue路由懒加载的注意事项

懒加载的实现的两种方式

  1. resolve 的方式
  component: resolve => require(['./Home.vue'], resolve)
  1. import 的方式
  component: () => import('./Home.vue')
  1. 非路由懒加载时
  component: require('./Home.vue').default

ajax请求的缓存问题: 通过时间戳解决问题 -- get请求

为get请求添加额外时间戳参数:例如 t=new Date().getTime(), 在axios中,可以在发送前的拦截器中设置;

vux中的scrollbar的css问题:

About

vue components and plugins based on Vux。

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published