-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nuxt 3 and Vue 3 support #390
Comments
Experiencing the same issue with version 3.8.0. Installed with npm. {
"main": "dist/storyblok-design-system.js",
"module": "dist/storyblok-design-system.mjs",
} |
Version 3.7.0 seems to be published with all needed assets. Workaround for now: npm installi @storyblok/design-system@3.7.0 To configure it as plugin, create
|
Hi, sorry we've had an issue with the |
@lisilinhart, 3.9.0 is also not working. Getting this error in the console.
|
Thanks @ctmm, I made some more tests with nuxt 3 now and see the problem. I think it's caused by different Vue dependencies, I'll see if I can move to be a devDependency or change the build settings in vite. It's related to this issue: vuejs/core#4344 |
I'm still trying to solve this issue, I noticed that it only happens for components that are using slots like |
@lisilinhart |
Hi @ctmm, I made a patch Here are the steps for your project:
I managed to get your project running in storyblok, nice work :) |
@lisilinhart , just confirmed that it's working. Thank you! |
Thanks @ctmm, the starter is great, I forwarded it to our extensions team, it's on our roadmap to update the starter repo we provide and I'm looking to see if there is a place where we can link and highlight to your starter |
I've been trying to use storyblok design system on Nuxt 3 app, as a plugin and also tested with a 'native' Vue3 app, by following
readme
steps. Both approaches failed.Expected Behavior
The Nuxt3 application should load storyblok-design-system components.
Current Behavior
I'm getting the following issue:
Steps to Reproduce
storyblok-design-system
plugin intoplugins
folder with the code provided inreadme
fileThe text was updated successfully, but these errors were encountered: