Skip to content
Advertisement

How to use vue.js component in laravel blade?

I registered component in my app.js like this:

JavaScript

Now I want to import that component:

JavaScript

Into my blade.php file:

JavaScript

What’s the easiest way to do this?

Advertisement

Answer

In app.js

JavaScript

In your blade:

JavaScript

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement