Migration strategy for old app - Use Quasar in WebComponent #14131
Unanswered
larserikfinholt
asked this question in
General - Components / Directives / etc
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're planning to migrate an old big app to vue3 + quasar. We have two ideas on how to do this by splitting into smaller apps:
Option A: Create multiple apps, and mount them
Option B: Create web-components and use them
For Option A we would do something like this
For Option B we would do something like this
Question
Currently it looks like both options has some problems we're not able to figure out:
Problem with OptionA:
The old apps styles seems to conflict with quasar. We would like to avoid doing changes to the old codebase. Therefor it seems like we cant go with this option.
Problem with OptionB:
We cant seem to figure out how to make quasar work with the webcompnents. In the Option A we have the createApp that gives us a object to use and configure quasar, but how do we do this in the web-components example?
If we run the code as is we get the following error (probably related to not configuring quasar):
Thanks for any help!
(minor details: the app is used internally so big bundles is not a big issue)
Beta Was this translation helpful? Give feedback.
All reactions