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