lastwebnovel-app/nuxt.config.ts
Ahmed DCHAR 3ac2277146
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
Add new chapters
2026-04-17 21:45:41 +02:00

60 lines
1.1 KiB
TypeScript

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
'@nuxt/eslint',
'@nuxt/ui',
'@nuxt/content',
'@vueuse/nuxt'
],
devtools: {
enabled: true
},
app: {
baseURL: '/',
head: {
meta: [
{
name: 'viewport',
content: 'width=device-width, initial-scale=1, viewport-fit=cover'
}
],
link: [
{
rel: 'preconnect',
href: 'https://fonts.googleapis.com'
},
{
rel: 'preconnect',
href: 'https://fonts.gstatic.com',
crossorigin: 'anonymous'
},
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Merriweather:wght@400;700&family=Open+Sans:wght@400;600&display=swap'
}
]
}
},
css: ['~/assets/css/main.css'],
routeRules: {
'/api/**': {
cors: true
}
},
compatibilityDate: '2024-07-11',
eslint: {
config: {
stylistic: {
commaDangle: 'never',
braceStyle: '1tbs'
}
}
}
})