I am currently looking to build a multi-page Vue app which will allow users to embed it easily into their websites and allow their website visitors to interact with it seamlessly.
The app itself will interact with an API, have few pages, and I'd like to use Vue and it's ecosystem to achieve it (vue-router, pinia).
I am exploring few options but currently I am quite interested in using web components, specifically to have one web component wrap the entire application. While doing this, I noticed that, considering there is no app instance, initializing pinia and vue router cannot be done, other than creating a temporary instance and copying the context, which sounds a bit hacky to me.
Does anyone have experience with this kind of project and how do you recommend developing it? Do you think web components are the best solution?
Really appreciate all input in advance.
I considered few options and considering Vue is my framework of choice, I decided to use it based on the documentation.
Also I found Lit and Stencil, but considering I'd like to build this project in Vue, I decided against it.