mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-02-10 04:06:57 +01:00
chore: update nuxt configuration and dependencies
- Added strictMessage option to i18n compilation settings in nuxt.config.ts - Configured prerender settings in nitro for better route handling - Updated dependencies in package.json, including @nuxt/ui and @nuxthub/core - Moved iconify-json packages to dependencies from devDependencies - Added better-sqlite3 to devDependencies - Simplified tsconfig.json to extend from .nuxt/tsconfig.json
This commit is contained in:
@@ -73,6 +73,9 @@ export default defineNuxtConfig({
|
||||
|
||||
i18n: {
|
||||
strategy: 'no_prefix',
|
||||
compilation: {
|
||||
strictMessage: false,
|
||||
},
|
||||
locales: [
|
||||
{
|
||||
label: 'English',
|
||||
@@ -98,6 +101,10 @@ export default defineNuxtConfig({
|
||||
|
||||
nitro: {
|
||||
preset: 'cloudflare_module',
|
||||
prerender: {
|
||||
routes: ['/'],
|
||||
crawlLinks: true,
|
||||
},
|
||||
},
|
||||
|
||||
runtimeConfig: {
|
||||
|
||||
Reference in New Issue
Block a user