Install VueJS 3 using Vite
As a perquisite to use this way of installation, you must first install the latest version of Node.js.
Once you install node.js, open your command line or terminal, move to the directory where you want to install the VueJS project files and run the command as shown below.
npm init vue@latest
When executing the command above you will be asked to select specific features as follows:
You can select ‘No’ to options you are not sure about.
Next, navigate to your project folder, install npm and run dev as shown below.
> cd Demo > npm install > npm run dev
That’s all done now, you may navigate to your localhost URL http://localhost:3000/ (Open in browser) to display your Laravel and VueJS app.
That’s it, you may now open your project files in any code editor, open the App.vue file under the src folder and edit with your own code!