Skip to content

Commit bc2d902

Browse files
committed
chore(config): rename vue-i18n.options.ts to i18n.config.ts and update wrappedPrimeInputs
1 parent 3c7cd49 commit bc2d902

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed
File renamed without changes.

nuxt.config.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Aura from '@primeuix/themes/aura'
22
import pkg from './package.json'
33

4-
export const wrappedPrimeInputs: string[] = ['AutoComplete', 'CascadeSelect', 'Checkbox', 'Chip', 'ColorPicker', 'DatePicker', 'Editor', 'InputMask', 'InputNumber', 'InputOtp', 'InputText', 'Knob', 'Listbox', 'MultiSelect', 'Password', 'RadioButton', 'Rating', 'Select', 'SelectButton', 'Slider', 'Textarea', 'ToggleButton', 'ToggleSwitch', 'TreeSelect']
4+
export const wrappedPrimeInputs: string[] = ['AutoComplete', 'CascadeSelect', 'Checkbox', 'Chip', 'ColorPicker', 'DatePicker', 'InputMask', 'InputNumber', 'InputOtp', 'InputText', 'Knob', 'Listbox', 'MultiSelect', 'Password', 'RadioButton', 'Rating', 'Select', 'SelectButton', 'Slider', 'Textarea', 'ToggleButton', 'ToggleSwitch', 'TreeSelect']
55

66
export default defineNuxtConfig({
77

@@ -63,18 +63,13 @@ export default defineNuxtConfig({
6363
},
6464

6565
i18n: {
66-
lazy: true,
6766
langDir: 'locales',
6867
defaultLocale: 'en',
6968
strategy: 'no_prefix',
7069
locales: [
7170
{ code: 'en', file: 'en.json', name: 'English' },
7271
{ code: 'de', file: 'de.json', name: 'German' },
7372
],
74-
vueI18n: '../vue-i18n.options.ts',
75-
bundle: {
76-
optimizeTranslationDirective: false,
77-
},
7873
},
7974
primevue: {
8075
autoImport: true,
@@ -88,7 +83,7 @@ export default defineNuxtConfig({
8883
ripple: true,
8984
},
9085
components: {
91-
exclude: [...wrappedPrimeInputs, 'Button', 'Form', 'FormField', 'Chart'],
86+
exclude: [...wrappedPrimeInputs, 'Button', 'Form', 'FormField', 'Chart', 'Editor'],
9287
},
9388

9489
},

0 commit comments

Comments
 (0)