Installation of Vue.js + Laravel

Pre-requisite

Composer

Download Composer at https://getcomposer.org/arrow-up-right

Node.js

Download Node.js at https://nodejs.org/en/arrow-up-right

Installing Laravel

Firstly, run this command in CMD. The name "backend" is the folder name. It can be changed to any other name.

composer create-project laravel/laravel backend

Then, press "Y".

Then, run this command.

Then, run this command. This command will provide the link to view the Laravel.

Installing Vue.js

Firstly, run this command in CMD. The name "frontend" is the folder name. It can be changed to any other name.

Then, press "y".

Then, choose "Vue".

Then, choose "JavaScript".

Then, run this command.

Then, run this command.

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

Last updated