File tree 3 files changed +1819
-2409
lines changed
3 files changed +1819
-2409
lines changed Original file line number Diff line number Diff line change 1
- if ( ! process . env . SUPABASE_URL || ! process . env . SUPABASE_ANON_KEY ) {
1
+ if ( ! process . env . SUPABASE_URL || ! process . env . SUPABASE_ANON_KEY )
2
+ {
2
3
throw new Error (
3
- `Could not find Supabase URL or key in environment variables.
4
+ `Could not find Supabase URL or key in environment variables.
4
5
Are you sure you set it up right?
5
6
Tip: Check your .env file and refer to the README.
6
7
Environment variable keys:
@@ -44,8 +45,8 @@ export default defineNuxtConfig({
44
45
}
45
46
] ,
46
47
noscript : [ {
47
- children :
48
- `<style>
48
+ children :
49
+ `<style>
49
50
.hide-noscript {display: none}
50
51
.hide-noscript-important {display: none !important}
51
52
.invis-noscript {visibility: hidden}
@@ -61,12 +62,15 @@ export default defineNuxtConfig({
61
62
modules : [ '@nuxtjs/i18n' ] ,
62
63
63
64
i18n : {
64
- vueI18n : './i18n.config.ts' ,
65
+ vueI18n : '.. /i18n.config.ts' ,
65
66
locales : [ 'en' , 'id' ] ,
66
67
defaultLocale : 'en' ,
67
68
detectBrowserLanguage : {
68
69
useCookie : false
69
70
} ,
71
+ bundle : {
72
+ optimizeTranslationDirective : false ,
73
+ } ,
70
74
} ,
71
75
72
76
$production : {
You can’t perform that action at this time.
0 commit comments