upload to github

This commit is contained in:
jrosh 2025-05-29 13:41:38 +02:00
commit 92cc81e813
No known key found for this signature in database
GPG key ID: A4D68DCA6C9CCD2D
51 changed files with 8041 additions and 0 deletions

25
vite.config.ts Normal file
View file

@ -0,0 +1,25 @@
import { fileURLToPath, URL } from 'node:url'
import { defineConfig, loadEnv } from 'vite'
import vue from '@vitejs/plugin-vue'
//import vueDevTools from 'vite-plugin-vue-devtools'
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd())
return {
base: String(env.VITE_BASE_URL),
plugins: [
vue(),
//vueDevTools(),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
},
},
server: {
host: '0.0.0.0',
port: Number(env.VITE_PORT),
},
}
})