[QUESTION] How to customize Vue components
- Bazar Version: latest
- Laravel Version: 9
- PHP Version: 8
- Database Driver & Version: mysql 8
Description:
The docs describe how to publish assets, but do not cover how to build assets after they have been customized. I found this issue (https://github.com/conedevelopment/bazar/issues/183) that suggests using the --mix flag when publishing vendor assets. However, I still have issues trying to build the frontend:
There are several other packages that throw errors as well, including daytime.js, vue itself, and others. I have tried including these as external libraries in my webpack config, but have not been able to find a solution yet.
It would be extremely helpful to have an example with more information in the docs. I'm happy to help contribute this if @iamgergo can give me the details on how to set this up properly.
Thanks!
Steps To Reproduce:
- Install the package in a new app
- Publish vendor assets with the
--mixflag - Attempt to customize one of the vendor components
- Build assets with
npm run dev - See if you have any errors