Table of Contents
Check whether node.js is successfully installed: Open cmd, enter ndoe -v and npm -v If the version information is displayed, the installation is successful.
1. cnpm install vue -g
2. cnpm i @vue/cli -g
Under Vs code:
Now successfully created
(1) Open the package.json in the project, execute the command npm run dev in start in the vscode terminal, and the access address will appear after the startup is successful
2) According to the prompt, visit localhost:8080, you will get access toThe following interface.So far, the creation of Vue.js project by VS Code has been completed.
Read more here: Source link