MainMenu + PrintMenu временный предпросмотр

This commit is contained in:
2026-09-01 20:50:42 +03:00
parent 39250c6fa6
commit fb0b10a66a
7 changed files with 6267 additions and 92 deletions

View File

@ -1,7 +1,27 @@
import { defineConfig } from 'vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
import { VitePWA } from 'vite-plugin-pwa'
// https://vite.dev/config/
export default defineConfig({
plugins: [svelte()],
plugins: [
svelte(),
VitePWA({
registerType: 'autoUpdate',
manifest: {
name: 'UnitPrint',
short_name: 'UnitPrint',
start_url: '/',
display: 'standalone',
background_color: '#ffffff',
theme_color: '#ff3e00',
icons: [
{
src: '/icon-192x192.png',
sizes: '192x192',
type: 'image/png'
}
]
}
})
],
})