Skip to content

WenXuanHe/generator-wx-vue

Repository files navigation

generator-wx-vue [NPM version]

基于koa2和vue的PC端脚手架

Installation

First, install Yeoman and generator-wx-vue using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-wx-vue

Then generate your new project:

yo wx-vue

Getting To Know

  • 默认配置vue+vue-router+vuex,适用于较大项目
  • 利用webpack配置vue的服务端渲染,首屏直出,其余页面惰性加载
  • 配置travis持续集成,一件键署到服务器
  • 配置typeScript config,可在.ts文件直接使用typeScript
  • 配置karma,e2e测试文件,可快速,方便的书写单元测试
  • 配置了restful和graphQl两种方式请求服务器,可根据需要选择
  • 默认配置postcss+cssNext书写css

License

Apache-2.0 © hewenxuan

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages