Skip to content

Latest commit

 

History

History
83 lines (61 loc) · 2.54 KB

README_en.md

File metadata and controls

83 lines (61 loc) · 2.54 KB

vue-mobile-starter · PyPI Packagist

A app based on vue2 + vuex + vue-router,you can learn the core concepts of vue2,vuex and vue-router from this app.

Introduction

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.

Open Sources

  1. vue family:vue2 + vuex + vue-router + vue-cli.
  2. jsonplaceholder:A free online REST service that you can use whenever you need some fake data.
  3. axios:Promise based HTTP client for the browser and node.js.
  4. muse-ui:Material Design UI library for Vuejs 2.0.
  5. express:Fast, unopinionated, minimalist web framework for node.
  6. pm2:Production Process Manager for Node.js apps with a built-in Load Balancer.

Build Setup

# 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

Directory Structure

.
├── 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

Demos

click this to view demo

  1. The project was deployed through centOS 7.

Scanning the following qrcode and browsing the demo on your phone

在线浏览

License

MIT license.