I believe many of my friends have encountered some problems when installed node service and installation vue, here to find out more node installation services and installation of vue:
1.nodeJs official website to download version (PC configuration according to their respective download it); the default installation path is C: \ Program Files \ nodejs, you can choose the path you want to install, you can just click Next
2. After installing win + R input cmd (administrator privileges, type): the Node -v (the Node version) npm -v (npm version) check the version number , as shown identify a successful installation,
3. Install vue
First: Install Taobao mirror. cmd command input:
-registry = -g CNPM install npm HTTPS: //registry.npm.taobao.org , Enter, wait for the installation ...
2. Installation express (choose to install).npm
install
-g express
4. Installation webpack.npm
install
-g webpack
5. Installation vue. --- npm install VUE
6. Installation vue-cli. --- npm install -g VUE-cli
7. At this point, environment building has been completed, the project may begin initialization.
To see if the installation was successful: VUE -V , the version number to identify the emergence of a successful installation, then create a project
cmd into the file you need to create a project folder:
vue init webpack vue-projectname (project folder name);
Install icon once Return, type cd where the project folder, npm install installation depends npm run dev (start) you go. http: // localhost: 8080 / # / access entry,
As shown below: Congratulations on your successful installation, hoping to help you.
I believe many of my friends have encountered some problems when installed node service and installation vue, here to find out more node installation services and installation of vue:
1.nodeJs official website to download version (PC configuration according to their respective download it); the default installation path is C: \ Program Files \ nodejs, you can choose the path you want to install, you can just click Next
2. After installing win + R input cmd (administrator privileges, type): the Node -v (the Node version) npm -v (npm version) check the version number , as shown identify a successful installation,
3. Install vue
First: Install Taobao mirror. cmd command input:
-registry = -g CNPM install npm HTTPS: //registry.npm.taobao.org , Enter, wait for the installation ...
2. Installation express (choose to install).npm
install
-g express
4. Installation webpack.npm
install
-g webpack
5. Installation vue. --- npm install VUE
6. Installation vue-cli. --- npm install -g VUE-cli
7. At this point, environment building has been completed, the project may begin initialization.
To see if the installation was successful: VUE -V , the version number to identify the emergence of a successful installation, then create a project
cmd into the file you need to create a project folder:
vue init webpack vue-projectname (project folder name);
Install icon once Return, type cd where the project folder, npm install installation depends npm run dev (start) you go. http: // localhost: 8080 / # / access entry,
As shown below: Congratulations on your successful installation, hoping to help you.