-
Seems that swup though found, is not loading. Any help? Using: seeing this error (and swup is not working)
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The error you're seeing is a TS error, that's to be excepted since swup currently isn't written in JS. Can you share the output of your bundler? If there's an issue loading from node_modules, it should show up there. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your patient help. I believe I was expecting this to work without a bundler. I'm now running Parcel, and with script type='module' in my html source. Swup works now. Though that warning still displays when I hover over the import in my source js file, I understand that it is irrelevant and can ignore it. |
Beta Was this translation helpful? Give feedback.
The error you're seeing is a TS error, that's to be excepted since swup currently isn't written in JS.
Can you share the output of your bundler? If there's an issue loading from node_modules, it should show up there.