社区微信群开通啦,扫一扫抢先加入社区官方微信群
社区微信群
If you want to change the default path when running Node.js command prompt, edit nodejsnodevars.bat file at last line, change %HOMEDRIVE%%HOMEPATH% to your path
Install Node Js
Download and install nodejs package for windows
https://nodejs.org/en/download/
Install Vue CLI
Uninstall old version and install new version
npm uninstall vue-cli –g to uninstall
npm install -g @vue/cli
Use vue --version
to check if installation is success
3. Install Prototyping
npm install –g @vue/cli-service-global
Use vue serve
to run App.vue or user vue serve MyApp.vue
to run MyApp
vue create hello-world -d
After creation, you will a new folder named hello-world under your current path like this struture
Run vue ui
to run a local project manager web, you can manually create a new project by follow each steps
Now, you can find a new vue project folder under current path.
The local project manager offer us a convenience way to build and with UI analysis
cd hello-world
npm run serve
Visit http://localhost:8080 in broswer
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!