nuxt.js + vant-ui + postcss
- 更改接口地址:复制根目录下/config/index.sample.js文件为/config/index.js,index.js文件不要提交
- 二次封装常用的处理及提示
- vant-ui和postcss,使用postcss-pxtorem,支持px转换成rem,默认设计稿尺寸宽度750px
- 表单验证采用vee-validate
# install dependencies
$ npm run install
# serve with hot reload at localhost:3001
$ npm run dev
# build for production and launch server
$ npm run build
$ pm2 reload all
For detailed explanation on how things work, check out Nuxt.js docs.