Browse Source

fix(nc-gui): use VueI18nPlugin

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
9e447519fb
  1. 4
      packages/nc-gui/test/vite.config.ts

4
packages/nc-gui/test/vite.config.ts

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

Loading…
Cancel
Save