Is hutopy finally trilangual
This commit is contained in:
@@ -2,6 +2,8 @@ import {fileURLToPath, URL} from 'node:url'
|
||||
import {defineConfig, loadEnv} from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import fs from 'fs';
|
||||
import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite'
|
||||
import { resolve } from 'path'
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig(({mode}) => {
|
||||
@@ -9,7 +11,10 @@ export default defineConfig(({mode}) => {
|
||||
const env = loadEnv(mode, process.cwd(), '')
|
||||
return {
|
||||
plugins: [
|
||||
vue()
|
||||
vue(),
|
||||
VueI18nPlugin({
|
||||
include: resolve(__dirname, 'src/locales/**')
|
||||
})
|
||||
],
|
||||
server: {
|
||||
https: {
|
||||
|
||||
Reference in New Issue
Block a user