workspace setup

This commit is contained in:
Kevin Menn
2026-04-16 03:16:09 +02:00
parent 5202ff47db
commit a01812bd60
15 changed files with 14554 additions and 11 deletions
+29
View File
@@ -0,0 +1,29 @@
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']
}
})