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
when App.tsx have already import the antd global less include table style, when load the pageOne component, the table style re append again. If I remove the lazy import, the problem is disappear. It make me confuses.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Hello @aniude. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with need reproduction will be closed if they have no activity within 3 days.
import vitePluginImp from 'vite-plugin-imp';
.... ...
export default defineConfig({
... ....
vitePluginImp({ // if I only use the plugin-imp for libList empty array, it happened. if I remove this plugin, the problem resolved.
libList: [],
}),
});
Describe the bug
pageOne.tsx
when App.tsx have already import the antd global less include table style, when load the pageOne component, the table style re append again. If I remove the lazy import, the problem is disappear. It make me confuses.
Anyone can fix it?
I found the some issues like #4448
Reproduction
none
Steps to reproduce
No response
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: