vue-cnode
git clone https://github.com/hbbaly/vue-cnode.git
使用vue写cnode网站, 我尽量用工作中规范去要求我改写这个项目,包括使用 BEM
来管理class类名,使用eslint来管理代码规范,只构建了三个页面,却使用了 vuex并且分了模块,对一些命名也进行了一定的规范,页面的组件划分,代码的重构等等一些自己的思想。
Build Setup
cd vue-cnode
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# lint
npm run lint