|
|
@ -1,7 +1,7 @@ |
|
|
|
/// <reference types="vitest" />
|
|
|
|
/// <reference types="vitest" />
|
|
|
|
|
|
|
|
|
|
|
|
import path from 'path' |
|
|
|
import path from 'path' |
|
|
|
import vueI18n from '@intlify/vite-plugin-vue-i18n' |
|
|
|
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite' |
|
|
|
import Icons from 'unplugin-icons/vite' |
|
|
|
import Icons from 'unplugin-icons/vite' |
|
|
|
import { defineConfig } from 'vite' |
|
|
|
import { defineConfig } from 'vite' |
|
|
|
import Vue from '@vitejs/plugin-vue' |
|
|
|
import Vue from '@vitejs/plugin-vue' |
|
|
@ -9,7 +9,7 @@ import Vue from '@vitejs/plugin-vue' |
|
|
|
export default defineConfig({ |
|
|
|
export default defineConfig({ |
|
|
|
plugins: [ |
|
|
|
plugins: [ |
|
|
|
Vue(), |
|
|
|
Vue(), |
|
|
|
vueI18n({ |
|
|
|
VueI18nPlugin({ |
|
|
|
include: path.resolve(__dirname, '../lang'), |
|
|
|
include: path.resolve(__dirname, '../lang'), |
|
|
|
}), |
|
|
|
}), |
|
|
|
Icons({ |
|
|
|
Icons({ |
|
|
|