update
This commit is contained in:
@@ -40,6 +40,7 @@
|
|||||||
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
||||||
"@typescript-eslint/parser": "^6.15.0",
|
"@typescript-eslint/parser": "^6.15.0",
|
||||||
"@vitejs/plugin-vue": "^4.2.3",
|
"@vitejs/plugin-vue": "^4.2.3",
|
||||||
|
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
||||||
"ant-design-vue": "^3.2.20",
|
"ant-design-vue": "^3.2.20",
|
||||||
"echarts": "^5.4.3",
|
"echarts": "^5.4.3",
|
||||||
"eslint": "^8.51.0",
|
"eslint": "^8.51.0",
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
|
"jsxImportSource": "vue",
|
||||||
/* Linting */
|
/* Linting */
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"noUnusedLocals": true,
|
"noUnusedLocals": true,
|
||||||
|
|||||||
+2
-1
@@ -1,7 +1,7 @@
|
|||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from 'vite';
|
||||||
import vue from '@vitejs/plugin-vue';
|
import vue from '@vitejs/plugin-vue';
|
||||||
import { resolve } from 'path';
|
import { resolve } from 'path';
|
||||||
|
import vueJsx from '@vitejs/plugin-vue-jsx';
|
||||||
import postcssPluginPx2rem from 'postcss-plugin-px2rem';
|
import postcssPluginPx2rem from 'postcss-plugin-px2rem';
|
||||||
import resolveExternalsPlugin from 'vite-plugin-resolve-externals';
|
import resolveExternalsPlugin from 'vite-plugin-resolve-externals';
|
||||||
|
|
||||||
@@ -29,6 +29,7 @@ export default defineConfig({
|
|||||||
resolveExternalsPlugin({
|
resolveExternalsPlugin({
|
||||||
AMap: 'AMap',
|
AMap: 'AMap',
|
||||||
}),
|
}),
|
||||||
|
vueJsx(),
|
||||||
],
|
],
|
||||||
css: {
|
css: {
|
||||||
preprocessorOptions: {
|
preprocessorOptions: {
|
||||||
|
|||||||
Reference in New Issue
Block a user