I want to create a package, which is basically some kind of admin panel for my projects. This package will be handled by composer and used in multiple projects.
How to deal with the assets/vuejs files? I know, that I can publish these files to the current project and then customize them to the current needs.
But how to handle updates to these files? When I find an error in a package vue file, I will need to manually fix it in every project, where I use it?
When you find an error in a package vue file, you fix it in the package, draft a new release and run composer update vendorname/packagename in your projects.
EDIT: Ah, nvm, I overlooked the part where you publish the assets. Those of course won't update when you update the vendor package. Hmm... i think there is no way to easily achieve that. I guess you'll just have to make sure your package is ready and without bugs before using it.