Explorar el Código

fix: jsx cannot be auto import

chenlei hace 3 semanas
padre
commit
2a6dc1e419
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      vite.config.ts

+ 1 - 0
vite.config.ts

@@ -70,6 +70,7 @@ export default defineConfig(() => {
             importStyle: 'sass',
           }),
         ],
+        include: [/\.vue$/, /\.vue\?vue/, /\.jsx$/, /\.tsx$/],
       }),
     ],
     resolve: {