chore: add version.json
This commit is contained in:
@ -8,6 +8,10 @@ export default defineNuxtConfig({
|
|||||||
'@nuxtjs/i18n',
|
'@nuxtjs/i18n',
|
||||||
],
|
],
|
||||||
|
|
||||||
|
routeRules: {
|
||||||
|
'/version.json': { cors: true },
|
||||||
|
},
|
||||||
|
|
||||||
i18n: {
|
i18n: {
|
||||||
vueI18n: './i18n.config.ts',
|
vueI18n: './i18n.config.ts',
|
||||||
strategy: 'no_prefix',
|
strategy: 'no_prefix',
|
||||||
|
3
public/version.json
Normal file
3
public/version.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"version": "1.0.0"
|
||||||
|
}
|
Reference in New Issue
Block a user