-
Notifications
You must be signed in to change notification settings - Fork 27
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
Using nested components #18
Comments
Turns out I hadn't configured Webpack properly as is written on the README. Working as expected now! |
Glad to hear it's working 🎉 |
Hi, I'm using Rails with Webpacker and Svelte. Any ideas or suggestions what may be the problem? perhaps the bundle isn't configured correctly? Thanks |
Can you provide some details? At the very least, please provide the trace of the error message. My guess is that this is a webpack config issue. |
of course, sorry! Trace and the line with the error can be found here |
Thanks for the detailed trace. Given that the function you're highlighting is not coming from svelte-simple-modal and that multiple people have the same issue with Svelte, I'm certain that this is a webpack-related bundling issue:
Unfortunately, there isn't anything I can do on my end. |
@flekschas thank you! I'll keep looking. |
@davemccrea can you please let me know how you configured WebPack for your issue? I'm having the same issue and no luck so far. Many thanks... |
@psyCodelist this helped me resolve my issue: wewowweb/laravel-mix-svelte#5 (comment) |
I'm encountering a
TypeError: outros is undefined
when using a nested component.App.svelte
Delivery.svelte
CardPicker.svelte
Card.svelte
The modal opens, however when using the close button or clicking the background the error appears in the browser console window. All works as expected when I don't use a nested component within the CardPicker component. Is this a limitation of Svelte or svelte-simple-modal?
Using latest Svelte and svelte-simple-modal version.
The text was updated successfully, but these errors were encountered: