vueThink framework to build and fill the pit (new)

 

Follow their own official website set up vueThink framework, there are a lot of documents found on github pit. So to sum up (download only for WIN end)

1. Install node.js

  The front end portion is running on node.js, so you must first install node.js, version 6.9.0 above requirements (recommended to install the official version is recommended), based on Download: https: //nodejs.org/zh-cn/

2. npm mounted reliance

  Enter frontEnd directory, execute the command to install depend on: npm install

  Here dependencies will install the following warning

  

  This is because it contains a number of packages so dependent on ios here if you are not concerned about the ios, delete all if you win you will need to package-lock.json fsevents package or a comment

       

  

       Moreover, it should have modified the project root directory .eslintrc.jsfile, modify the rule configuration items in the configuration file:

  'linebreak-style': 'off'

  Phenomenon:
  JS Plenary reported red, does not affect the start of the project, there is reason eslint syntax check

   You can then run vue: npm run dev.

 

Guess you like

Origin www.cnblogs.com/wyaokai/p/11003917.html