switch from next to vue

This commit is contained in:
2026-02-06 01:11:09 +01:00
parent 1193ca3552
commit 43463bbe8f
71 changed files with 5380 additions and 5164 deletions
+37
View File
@@ -0,0 +1,37 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { VitePWA } from 'vite-plugin-pwa'
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
VitePWA({
registerType: 'autoUpdate',
includeAssets: ['icon.svg', 'icon-maskable.svg'],
manifest: {
name: 'Sanasto',
short_name: 'Sanasto',
description: 'Sanasto Wiki glossary, available offline.',
theme_color: '#4f46e5',
background_color: '#f8fafc',
display: 'standalone',
start_url: '/',
icons: [
{
src: '/icon.svg',
sizes: 'any',
type: 'image/svg+xml',
purpose: 'any',
},
{
src: '/icon-maskable.svg',
sizes: 'any',
type: 'image/svg+xml',
purpose: 'maskable',
},
],
},
}),
],
})