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
Install Vite Locally. Go into the direction of the project name, if your project name frontend, then run the command like below

Check npm Scripts: Ensure that the
vitecommand is correctly referenced in yourpackage.jsonfile 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

Then, run this command

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

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

Last updated