Customized
npm init vite
with Svelte + TS including an Express backend.
client
.server
.shared
..gitignore
ignores dist
in all of them!npm run dev
for just frontend dev server.npm run build
for just building the frontend.npm run preview
for building and then hosting the built files.npm run check
for checking svelte files.npm run serve-dev
for running both the frontend and backend on a dev server.npm run serve-prod
for building and then running both the front end and backend.Built with hatred towards TS 💖 by null.