Closed wjw020206 closed 9 months ago
The icon displays normally in .vue, but not in .jsx. How should I configure it to display in .vue and .jsx at the same time?
export default [ vue(), vueJsxPlugin(), AutoImport({ resolvers: [ElementPlusResolver()], imports: ['vue', 'vue-router', 'pinia'], dirs: ['src/store/**/*'], vueTemplate: true, defaultExportByFilename: false, dts: './config/auto-imports.d.ts', eslintrc: { enabled: true, filepath: './config/.eslintrc-auto-import.json', globalsPropValue: true } }), Components({ resolvers: [ ElementPlusResolver(), VueUseComponentsResolver(), IconsResolver({ prefix: false, enabledCollections: ['ep'] }) ], dirs: ['src/components', 'src/layouts'], directoryAsNamespace: false, dts: './config/components.d.ts' }), Icons({ autoInstall: true, compiler: 'vue3' }) ];
The icon displays normally in .vue, but not in .jsx. How should I configure it to display in .vue and .jsx at the same time?