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
{{ message }}
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.
Then I moved to Vite, and Require is not defined here (using rollup). How can I solve this, with nuxt / vite? Any idea?
So I'd like to load all the SVG-s from the given folder somehow.
The text was updated successfully, but these errors were encountered:
Simply amazing. The dynamic import functionality is a basic thing that we use everywhere and all the time. Why is this such a problem in Vite? 2 days trying to solve this issue, information 0.
Same problem here, I can't find a way to dynamically import SVG icons.
I might have an answer for you if you need to import components or images with a dynamic names:
I can load images dynamically from a folder in Nuxt (+ webpack) simply with a method like:
Then I moved to Vite, and Require is not defined here (using rollup). How can I solve this, with nuxt / vite? Any idea?
So I'd like to load all the SVG-s from the given folder somehow.
The text was updated successfully, but these errors were encountered: