A Vue.js project
- components 存放公共的组件
- views 存放'页面'根据路由变化的组件
- routes 路由
- src 源代码
- src/assets 存储静态文件(图片,样式)
- src/App.vue 单文件组件/根组件
- .gitignore git的忽略文件
- index.html 单文件首页
- webpack.config.js webpack的配置文件
- vue init webpack-simple my-heroes
- npm run dev
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, consult the docs for vue-loader.