A app based on vue2 + vuex + vue-router,you can learn the core concepts of vue2,vuex and vue-router from this app.
There are a lot of pretty open sources about Vue practice on the internet,most of the items are not too big or too small.So i did the item for novice to get started vue.js.
Then i will do a version of react + redux,interested students can continue to focus on😊.
If you have any problems,give me an issue.
- vue family:vue2 + vuex + vue-router + vue-cli.
- jsonplaceholder:A free online REST service that you can use whenever you need some fake data.
- axios:Promise based HTTP client for the browser and node.js.
- muse-ui:Material Design UI library for Vuejs 2.0.
- express:Fast, unopinionated, minimalist web framework for node.
- pm2:Production Process Manager for Node.js apps with a built-in Load Balancer.
# clone the repository
git clone https://github.com/JohnsenZhou/vue-mobile-starter.git
# go to the repository catalog
cd vue-mobile-starter
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
.
├── README.md
├── build
├── config
├── config.dev.json
├── config.prod.json
├── index.html
├── node_modules
├── npm-shrinkwrap.json
├── package.json
├── pm2.json
├── server.js
├── src
│ ├── App.vue
│ ├── assets
│ ├── components
│ ├── main.js
│ ├── router
│ ├── services
│ ├── store
│ ├── utils
│ └── views
└── static
- The project was deployed through centOS 7.
MIT license.