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
Inside files in /routes that have a default export - ie those that export a route component - the imports that would usually be provided by unplugin-auto-import are (i assume) not present, so instead of rendering the icons there is an attempt to render undefined.
In files that don't export a default component this is apparently not an issue.
Expected behavior 馃
The imports from unplugin-auto-import should always be present so that auto-imports can be used in route files.
Duplicates
Latest version
Current behavior 馃槸
Inside files in
/routes
that have a default export - ie those that export a route component - the imports that would usually be provided byunplugin-auto-import
are (i assume) not present, so instead of rendering the icons there is an attempt to renderundefined
.In files that don't export a default component this is apparently not an issue.
Expected behavior 馃
The imports from
unplugin-auto-import
should always be present so that auto-imports can be used in route files.Steps to reproduce 馃暪
Steps:
/app.tsx
and/routes/SeparateFileComponent.tsx
, but not/routes/index.tsx
Context 馃敠
I want to have auto imported icons throughout my whole app.
Your environment 馃寧
No response
The text was updated successfully, but these errors were encountered: