Vue-cli project to install scaffolding

1, download and install node. After the official website to download, re-open the cmd again.

Command: node -v version detection.

2, mounting vue-cli:

Command: npm install - , Ltd. Free Join VUE-cli. Depending on the installation, I will say that there is a move up, move to ..... I do not know why. Anyway, then enter

命令:npm install --global coffeescript 。

Command: VUE --version detection version.

 

3, the terminal cmd into the path you want to store the project, create a new project based webpack template. I chose the C drive it.

Command: cd ...

Command: vue init webpack lvqiuping-1

Do not worry Enter, four in vue-router select no less. Enter on the other line.

Then follow the prompts: cd ... / npm run dev completed

Guess you like

Origin www.cnblogs.com/lvqiupingboke-2019/p/12036146.html