jeudi 27 juillet 2017

How to add libraries vue in laravel?

I'm using laravel 5.4, with webpack and vue. I'm not sure how to add new libraries to use in vue.

For example, I run

npm install --save jquery vue2-select

What do I need to do next? I need to add:

Import Selectize from 'vue2-selectize'

or

Require ('vue2-selectize')

In the

resources / assets / js / app.js

file or

resources / assets / js / bootstrap.js

?

Can someone help me with the correct order to work?

Thank you!



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2h651sw
via IFTTT

Aucun commentaire:

Enregistrer un commentaire