Add PWA service worker (via vite plugin), use dynamic viewport units for interface size (improves mobile experience), replace default vue homepage with basic info

This commit is contained in:
Shivering Ocelot committed 2025-08-07 20:55:21 -05:00
1 parent 2e57bf8c8d
commit 13e7c12e75
9 files changed
+68 -33

No files matched your search

+5
View File
@@ -3,12 +3,17 @@ import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vueDevTools from 'vite-plugin-vue-devtools'
import { VitePWA } from 'vite-plugin-pwa'
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
vueDevTools(),
VitePWA({
registerType: 'autoUpdate',
devOptions: {enabled: true},
}),
],
build: {
sourcemap: true,