0👍
Make your subapps as WebComponents – here is some information that will help you:
- https://github.com/kartsims/vue-customelement-bundler/tree/rollup
- https://itnext.io/vuidget-how-to-create-an-embeddable-vue-js-widget-with-vue-custom-element-674bdcb96b97
- https://github.com/karol-f/vue-custom-element
- https://filosophy.org/code/bundling-vue-css-and-js-into-a-single-output-file/
Of course you won’t be able to share Vuex contents between the subapps or between main app and subapps – you will need to find a more sophisticated way of "shared" state.
- [Vuejs]-List Transitions work only for "enter" not for "leave"
- [Vuejs]-Vue bind class only on component load
Source:stackexchange.com