Просмотр исходного кода

fix: jsx cannot be auto import

chenlei 16 часов назад
Родитель
Сommit
2a6dc1e419
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      vite.config.ts

+ 1 - 0
vite.config.ts

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