manejo offline de los datos
This commit is contained in:
@@ -5,6 +5,27 @@ export default defineNuxtConfig({
|
||||
devtools: { enabled: true },
|
||||
css: ['~/assets/css/main.css'],
|
||||
modules: ['@nuxt/image', '@nuxt/ui', '@nuxt/test-utils', '@vite-pwa/nuxt', '@pinia/nuxt'],
|
||||
|
||||
// Performance optimizations
|
||||
experimental: {
|
||||
payloadExtraction: false,
|
||||
viewTransition: true
|
||||
},
|
||||
|
||||
// Optimize build
|
||||
vite: {
|
||||
build: {
|
||||
cssCodeSplit: true,
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks: {
|
||||
'vendor-ui': ['@nuxt/ui'],
|
||||
'vendor-pinia': ['pinia', '@pinia/nuxt']
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
app: {
|
||||
head: {
|
||||
link: [
|
||||
@@ -13,7 +34,7 @@ export default defineNuxtConfig({
|
||||
{ rel: 'manifest', href: '/manifest.webmanifest' }
|
||||
],
|
||||
meta: [
|
||||
{ name: 'theme-color', content: '#14100b' },
|
||||
{ name: 'theme-color', content: '#1b1209' },
|
||||
{ name: 'apple-mobile-web-app-capable', content: 'yes' },
|
||||
{ name: 'mobile-web-app-capable', content: 'yes' },
|
||||
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' }
|
||||
|
||||
Reference in New Issue
Block a user