so i kinda came up with a solution
- You need a Backend, that is running on the same machine, does not need to be the same project and then optional you need a small backend, that handles the file insertion on your machine which would have to be part of the vue project.
- You upload the “plugin” as a
.zip file and send it to your (not included) backend. The Backend unzips the file and either safes them first in its own storage and then moves them to the wanted folders in your vue priojekt or sends the unpacked files with fitting information back to the smaller (optional) backend.
- you need to rebuild the project (
npm run build) and then either move the
dist directory to your wanted destination or you have a linked directory, which will recognize changes in your
The routing can be handled via multiple routing files which can be loaded recusevliy into the main router.js file. Which means every “plugin” can bring its own router file.
This will limit your “plugins” to only consist of
.vue files, assets, that will be moved to the fitting asset folder by your backend and your
I hope it is understandable what i tried to explain to you.