Components Library in Bagisto
-
Hello everyone, I would like to know if it is possible to integrate a component library into Bagisto 2.2, such as Tailwind or Vue 3, for example, Vuetify or any Tailwind-based library. I tried importing it into the Shop package via npm, but I didn't get great results.
-
Hello @Nicola_cascella
First, add the entry for the new library in the package.json. Then, create a plugin for that library inside the JS file in the assets folder and load it in app.js. After everything is done, easily use it in the blade.
Thanks & Best Regards