36 lines
812 B
JavaScript
36 lines
812 B
JavaScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import { VitePWA } from 'vite-plugin-pwa'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
base: '/',
|
|
plugins: [
|
|
vue(),
|
|
VitePWA({
|
|
registerType: 'autoUpdate',
|
|
manifest: {
|
|
name: "app_segnap",
|
|
short_name: "segnap",
|
|
description: "Segnapunti standalone.",
|
|
background_color: "#eee",
|
|
theme_color: '#ffffff',
|
|
display: "fullscreen",
|
|
orientation: "landscape",
|
|
icons: [
|
|
{
|
|
src: 'segnap-192x192.png',
|
|
sizes: '192x192',
|
|
type: 'image/png'
|
|
},
|
|
{
|
|
src: 'segnap-512x512.png',
|
|
sizes: '512x512',
|
|
type: 'image/png'
|
|
}
|
|
]
|
|
}
|
|
})
|
|
],
|
|
})
|