How to Install And Run The Vue JS 3 Project

By Ved Prakash N | Feb 11, 2023 | Vue JS
Share :

https://www.fundaofwebit.com/post/how-to-install-and-run-the-vue-js-3-project

How to Install And Run The Vue JS 3 Project 


In this post, you will be learning how to create a vue js project version 3.

Step 1: Install Node.js version 16.0 or higher

Download and install Node.js and NPM Package in your system.

When you download your node.js and install it, your npm package also install's with it.

Let's check the node and npm is installed or not in your system. Open your terminal and check with the following command.

To check the installed version of node js:

$ node -v

To check the installed version of npm:

$ npm -v


Step 2: if you have already installed the npm, so please update to latest version.

$ npm install npm@latest -g

OR

$ npm i -g npm


Step 3: Create a vue js 3 project.

$ npm init vue@latest

This command will install and execute create-vue, the official Vue project scaffolding tool. You will be presented with prompts for several optional features such as TypeScript and testing support, etc as shown below



Step 4: Change the path, install the packages and run the application with the following command:

$ cd <your-project-name>
$ npm install
$ npm run dev


Thanks for reading.

https://www.fundaofwebit.com/post/how-to-install-and-run-the-vue-js-3-project

Share this blog on social platforms