mercredi 18 décembre 2019

How to manage Vue components inside the module folder?

I am using Caffeinated package for modules.

Hi, I'm trying to use Vue JS components that are stored directly in a module Resources folder (/js/components). I would rather not write for each Vue component its path in the main Laravel app.js file, so i'm thinking about editing the app.js files to scan Modules components folder and require each component automatically, but I'm not so good with the Vue JS enviroment.

Is there a simpler way to use Vue components inside modules folders?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire