airapi-web 2.1.0 • Public • Published 7 years ago
# install dependencies
npm install
# serve with hot reload at localhost:3000
npm run dev
# build for production with minification
npm run build
# serve with backend mock data at localhost:8080
npm run server
.
├── build/ # webpack config files
│ └── ...
├── config/
│ ├── index.js # main project config
│ └── ...
├── server/ # node server files
│ ├── controller # node controller files
│ └── ...
│ ├── model # node model files or mock data files
│ └── ...
│ └── server.js # node start file
├── src/
│ ├── assets/ # other static files
│ │ └── ...
│ ├── actions/ # Vuex actions file
│ │ └── ...
│ ├── modules/ # Vuex modules file
│ │ └── ...
│ ├── store/ # Vuex store file
│ │ └── ...
│ ├── helpers/ # helper files(e.g:Ajax)
│ │ └── ...
│ ├── components/ # component files
│ │ └── ...
│ ├── main.js # app entry file
│ ├── routes.js # app router
│ ├── App.vue # app main component
│ └── ...
├── static/ # pure static assets (directly copied)
├── .babelrc # babel config
├── .editorconfig.js # editor config
├── .eslintrc.js # eslint config
├── index.html # index.html template
└── package.json # build scripts and dependencies
Readme Keywords none
Package Sidebar Install Downloads Weekly Downloads