Please Disable Your Browser Adblock Extension for our site and Refresh This Page!

our ads are user friendly, we do not serve popup ads. We serve responsible ads!

Refresh Page
Skip to main content
On . By CodimTh
Category:

How to install Vue JS in Laravel

 

If you want to install vue in your laravel  project then install following laravel ui composer package to get command:

composer require laravel/ui

 

After successfully install above package then we are ready to install vue with our application.

we can install two way, one is a simple vue setup install and another is install vue with auth. So let's see both way.

 

Install Vue

php artisan ui vue

Install Vue with auth

php artisan ui vue --auth

Now we installed vue, you can see your resource directory js folder.

 

You also need to install npm and run it. so let's run both command:

Install NPM

npm install

Run NPM

npm run dev

Now you can work with your vue app.

Riadh Rahmi

Senior Web Developer (Drupal & Laravel)

I am a senior web developer, I have experience in planning and developing large scale dynamic web applications especially in Drupal and Laravel.

Web Posts

Search

Page Facebook