chore: sync

This commit is contained in:
2026-03-18 22:00:41 +08:00
parent ec28b7bceb
commit cd63f328ab
14 changed files with 5431 additions and 10 deletions

View File

@@ -1,8 +1,37 @@
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import { VitePWA } from "vite-plugin-pwa";
export default defineConfig({
plugins: [vue()],
plugins: [
vue(),
VitePWA({
registerType: "autoUpdate",
includeAssets: ["favicon.ico", "logo.png", "logo192.png", "logo512.png"],
manifest: {
name: "萌芽SSH",
short_name: "萌芽SSH",
description: "柔和渐变风格的 Web SSH 连接面板,支持多窗口终端。",
start_url: "/",
display: "standalone",
theme_color: "#0f172a",
background_color: "#020617",
icons: [
{
src: "logo192.png",
sizes: "192x192",
type: "image/png",
},
{
src: "logo512.png",
sizes: "512x512",
type: "image/png",
purpose: "maskable",
},
],
},
}),
],
server: {
host: true,
port: 5173,