Download latest stable version from https://nodejs.org/en/ and run the .msi file.
To check if node was installed, open terminal (command line/ Powershell etc) and type command node -v
It should return the Node.js version. Now you have installed Node.js. As part of the installation, the npm was installed. We will be using npm to manage and install packages.
To install Vue, run this command in your terminal: npm install -g @vue/cli
It might take some time to install.
In VisualStudioCode, go to Extensions and install Volar extension: https://marketplace.visualstudio.com/items?itemName=Vue.volar
npm run i
npm run serve
- Vue.js official guide: https://vuejs.org/guide/introduction.html
- Vue.js tutorial: https://vuejs.org/tutorial/#step-1ml
- About reactivity https://blog.logrocket.com/understanding-vue-refs/#:~:text=Ref%20s%20are%20Vue.,element%20in%20your%20Vue%20instance.