Based on my SolidJS-TailwindCSS-Animate.css template
This is the template I use to create SSR apps with SolidJS. It uses Vite to give you HMR in development, and Rollup for your production build. I use TailwindCSS in most of my projects, so it's included here too.
You probably don't need to be told this, but in case you forgot how to Node: clone the repo (or use the "Use this template" button), and then run npm install
to install the dependencies.
- Run
npm run dev
to start the development server, your app will be available at http://localhost:3000. - Make epic shit.
- Run
npm run build
to build your app for production. By default, the output will be in thedist
folder. - Run
npm start
to start the server in production mode.
- Run
npm run clean
to remove thedist
folder.
If you find this template helpful, consider petting a cat. They're often more appreciative than users. 🐱