init
This commit is contained in:
commit
b8e463b000
31 changed files with 2230 additions and 0 deletions
23
vite.config.js
Normal file
23
vite.config.js
Normal file
|
@ -0,0 +1,23 @@
|
|||
import { defineConfig } from 'vite'
|
||||
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||||
import { VitePWA } from 'vite-plugin-pwa'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
svelte(),
|
||||
VitePWA({
|
||||
registerType: 'autoUpdate',
|
||||
includeAssets: ["**/*"],
|
||||
manifest: {
|
||||
theme_color: "#000",
|
||||
background_color: "#000"
|
||||
}
|
||||
})
|
||||
],
|
||||
server: {
|
||||
host: true
|
||||
},
|
||||
preview: {
|
||||
host: true
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue