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" /> /// <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({

Loading…
Cancel
Save