A lot of things updated.

Signed-off-by: Pavel Kirilin <win10@list.ru>
This commit is contained in:
2024-05-02 04:01:11 +02:00
parent 08c44219b0
commit 8559ec7a85
13 changed files with 2395 additions and 32 deletions

View File

@ -2,11 +2,36 @@ import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { VitePWA } from 'vite-plugin-pwa'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
VitePWA({
manifest: {
name: 'Anime',
short_name: 'Anime',
start_url: '/',
theme_color: '#000000',
icons: [
{
src: '/pwa-192x192.jpg',
sizes: '192x192',
type: 'image/jpeg',
},
{
src: '/pwa-512x512.jpg',
sizes: '512x512',
type: 'image/jpeg',
}
]
},
devOptions: {
enabled: true,
},
registerType: "autoUpdate",
})
],
resolve: {
alias: {