You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if it's possible to make my Storybook design system work across both a Vue 2 and a Vue 3 app.
To clarify, I have 3 projects:
Storybook design system built on Vue 2
Legacy Vue 2 app that imports the design system
New Vue 3 app
The issue is that I couldn't convert the Vue 2 app to Vue due to the scale and complexity so I'm developing a new Vue 3 app in parallel. However, I want to use the existing design system components across both apps. It doesn't look like this is possible, but I'm wondering if anyone has ideas.
When I import my design system into a Vue 3 project I get the following Vite error:
Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/vue.js?v=8e5a9553' does not provide an export named 'default'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm wondering if it's possible to make my Storybook design system work across both a Vue 2 and a Vue 3 app.
To clarify, I have 3 projects:
The issue is that I couldn't convert the Vue 2 app to Vue due to the scale and complexity so I'm developing a new Vue 3 app in parallel. However, I want to use the existing design system components across both apps. It doesn't look like this is possible, but I'm wondering if anyone has ideas.
When I
importmy design system into a Vue 3 project I get the following Vite error:Beta Was this translation helpful? Give feedback.
All reactions