Vite Svelte Tailwind DaisyUI + Express
This template combines the power of latest frontend bundle of Svelte/Vite/Tailwind/Daisy and ExpressJS run as backend server.
Recommended IDE Setup
VS Code + Svelte.
How to use
- create repo using this template
- cd 'project dir'
- npm i
- npm run client:dev to start vite serving frontend svelte. (hotloading)
- npm run server:dev to start express server using nodemon (hotloading)
- npm run build to build frontend and backend source code. Production codes are in dist/
- npm run start to serve production project. (running node dist/server.js)
Code dir