feat: stabilize admin dashboard, refactor group management, implement PWA, and fix routing

This commit is contained in:
2026-05-03 19:51:18 +05:00
parent 622ca04170
commit 0598e07823
36 changed files with 1387 additions and 467 deletions
+18 -38
View File
@@ -8,52 +8,32 @@ export default defineNuxtConfig({
'@vueuse/nuxt'
],
experimental: {
appManifest: false
},
css: ['~/assets/css/main.css'],
tailwindcss: {
cssPath: '~/assets/css/main.css'
},
pwa: {
registerType: 'autoUpdate',
workbox: {
globPatterns: ['**/*.{js,css,html,png,svg,ico}'],
},
client: {
installPrompt: true,
},
manifest: {
name: 'XFlow',
short_name: 'XFlow',
description: 'XFlow Obsidian Canvas PWA',
theme_color: '#0f172a',
background_color: '#0f172a',
display: 'standalone',
orientation: 'portrait',
scope: '/',
start_url: '/',
icons: [
{
src: 'pwa-192x192.svg',
sizes: '192x192',
type: 'image/svg+xml'
},
{
src: 'pwa-512x512.svg',
sizes: '512x512',
type: 'image/svg+xml',
purpose: 'any'
},
{
src: 'maskable-icon-512x512.svg',
sizes: '512x512',
type: 'image/svg+xml',
purpose: 'maskable'
}
app: {
head: {
title: 'XFlow',
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: 'manifest', href: '/manifest.json' }
]
},
}
},
pwa: {
injectRegister: 'script',
registerType: 'autoUpdate',
devOptions: {
enabled: false
enabled: false,
suppressWarnings: true
}
},