Initial Commit

This commit is contained in:
2026-05-09 18:09:57 +00:00
commit 965bf6471f
119 changed files with 17016 additions and 0 deletions

47
vite.config.ts Normal file
View File

@@ -0,0 +1,47 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import tailwindcss from '@tailwindcss/vite'
import { VitePWA } from 'vite-plugin-pwa'
import { resolve } from 'node:path'
export default defineConfig({
plugins: [
vue(),
tailwindcss(),
VitePWA({
registerType: 'autoUpdate',
includeAssets: ['favicon.svg'],
manifest: {
name: 'FileSharing',
short_name: 'Files',
description: 'Google Drive-like file manager with WebDAV backend',
theme_color: '#0f172a',
background_color: '#0f172a',
display: 'standalone',
icons: [
{
src: 'favicon.svg',
sizes: '192x192',
type: 'image/svg+xml',
},
],
},
workbox: {
globPatterns: ['**/*.{js,css,html,svg,png,woff2}'],
},
devOptions: {
enabled: true,
type: 'module',
}
}),
],
resolve: {
alias: {
'@': resolve(__dirname, './src'),
},
},
server: {
host: true,
allowedHosts: ['drive.harvmaster.com'],
},
})