How to install Vue.js using Laravel UI?

Gary Roberts
1 min readSep 6, 2020

Learn how to add vue.js to your laravel project

What is Vue.js?

VueJS is a progressive JavaScript framework used to develop interactive web interfaces. Focus is more on the view part, which is the front end. It is very easy to integrate with other projects and libraries. The installation of VueJS is fairly simple, and beginners can easily understand and start building their own user interfaces.

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.

Install NPM

npm install

Run NPM

npm run dev

Now you can work with your vue app.

--

--

Gary Roberts

I am a self driven software engineer who has a passion for web and mobile development. I have won multiple awards relating to computer programming.