Skip to content

Commit

Permalink
docs: add build.transpile option (#1548)
Browse files Browse the repository at this point in the history
resolve #1546
  • Loading branch information
kazupon authored Sep 14, 2023
1 parent c97cd3e commit 4da7270
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/guide/integrations/nuxt3.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ import VueI18nVitePlugin from '@intlify/unplugin-vue-i18n/vite' // [!code ++]

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
build: { // [!code ++]
transpile: ['vue-i18n'] // [!code ++]
}, // [!code ++]
vite: { // [!code ++]
plugins: [ // [!code ++]
VueI18nVitePlugin({ // [!code ++]
Expand Down

0 comments on commit 4da7270

Please sign in to comment.