Files
manga-app-nuxt/frontend/nuxt.config.ts
T
2026-04-16 03:16:09 +02:00

29 lines
563 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
export default defineNuxtConfig({
devtools: true,
ssr: false, // SPAModus PWA ist einfacher so
typescript: {
shim: false // full TS support
},
modules: [
'@pinia/nuxt',
'@vite-pwa/nuxt'
],
vite: {
server: {
hmr: true
}
},
pwa: {
registerType: 'autoUpdate',
manifest: {
name: 'BookScanner',
short_name: 'BScan',
start_url: '/',
display: 'standalone',
background_color: '#ffffff'
}
},
pinia: {
autoImports: ['defineStore', 'acceptHMRUpdate']
}
})