How to install Vue.js using npm
Steps to follow!
Open the terminal window.
Create a new folder & Install Vue CLI in it
Create a new project
Go to the project and start the server
Access the default Vue js boilerplate application
Let’s see the steps in detail!
1. Create a new folder to install vue/cli and go inside the folder
mkdir thira2021 cd thira2021
2. Install Vue CLI. This is installing globally and so you need administrator privileges to execute these unless npm was installed on your system through a Node.js version manager.
npm install -g @vue/cli
3. Create a new Vue project. My project name is “thiraseela.com”
vue create thiraseela.com
4. Select the default options. Once the installation is complet, go inside the project folder.
cd thiraseela.com
Start the server to see the vue js application.
npm run serve