Logo

GitLab

Sign in

tutorial / web-tutorial

  • Back to Group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • web-tutorial
  • vue
  • readme.vm
  • xn-talk
    9b68c6b7
    zhaoxing authored
    2018-01-12 10:54:14 +0800  
    Browse Code »
readme.vm 370 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28



##参考官网

###开发包
https://github.com/FountainJS/generator-fountain-vue

###vue官网
http://cn.vuejs.org/v2/guide/


启动方式:

npm run serve

 或者
如果安装了全局 gulp-cli可使用:
gulp serve

打包:
npm run serve:dist



###按需加载
const index = r => require.ensure([], () => r(require('./app/constants/Index.vue')), 'index');