SETUP WITH VUE
Pre-requisite
Node.js
Download Node.js at https://nodejs.org/en/
Install Vue
There is 2 method to install vue. Recommend Method 1
Method 1: npm create vite@latest [the project name] --template vue
Firstly, run this command in CMD. [the project name] can be changed to any other name like below, Assume I set the project name to [frontend].
npm create vite@latest frontend --template vue

Then, press "y".

Then, choose "Vue".

Then, choose "JavaScript".

Install Vite Locally. Go into the direction of the project name, if your project name frontend, then run the command like below
cd frontend
Install Vite Locally. Go into the direction of the project name, if your project name frontend, then run the command like below
npm install vite --save-dev

Check npm Scripts: Ensure that the
vite
command is correctly referenced in yourpackage.json
file within the scripts section. It should look something like this:

Method 2: vue create my-vue3-app
Refer to Vue Setup.
Run the Vue
Go into the direction of the project name, if your project name frontend, then run the command like below
cd frontend

Then, run this command
npm install

And, run this command. This command will provide the link to view the Vue.
npm run dev

Result
At the end, your folder architecture with be look like this:

Last updated