#!/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