first commit

This commit is contained in:
2025-06-27 21:43:54 +02:00
commit 6ef4576cb2
33 changed files with 2185 additions and 0 deletions

14
Svelte/script/svelte-init Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
if [ ! -f "/home/svelte/frontend/vite.config.js" ]; then
npm create -y vite@6 frontend -- --template svelte
cd frontend
npm install
else
echo Svelte-Project recognized, starting…
cd frontend
fi
npm run dev -- --host 0.0.0.0
npm run build
bash