Address: online liuxuanqiang. Making. IO/vue – cnode

The installation

1. Install dependencies

npm install

2. Start the service

NPM run dev, browser: http://localhost:8080

3. Release code

NPM run build, generate dist folder in root directory

The directory structure

.├ ─ build // Webpack Setup file ├─ config // Vue Setup file ├─ SRC // project source directory │ ├─ assets // CSS ├─ Components // Vue common components | ├ ─ ─ pages / / project page | ├ ─ ─ the router / / routing file | ├ ─ ─ utils / / public utility class libraries │ ├ ─ ─ vuex / / vuex state management files │ ├ ─ ─ App. Vue / / Project entry documents (components) │ └ ─ ─ the main, js / / project core file (entrance js file) ├ ─ ─ the static / / static file ├ ─ ─ the test / / test file ├ ─ ─ index. The HTML / / homepage entry documents ├ ─ ─ Package. json // Project Configuration file ├─ readme.md //Copy the code

Technology stack

  • vue-cli
  • vue-router
  • vuex
  • axios
  • ES6
  • webpack

Thank you

The project is developed based on CNodeJS public API, API reference: cnodejs.org/api