Solid + Tailwind CSS + TypeScript + Vite Starter
A starter template for Solid that comes preconfigured with Vite, TypeScript, Tailwind CSS, ESLint, Prettier, HMR and file based routing.
-
⚡️ Solid & Vite - Simple and performant reactivity for building user interfaces.
-
🎨 Tailwind CSS - A utility-first CSS framework for rapid UI development.
-
💪 TypeScript - it's JavaScript with syntax for types.
-
👌 ESLint + Prettier - ESLint find problems in your code and Prettier format your code for an easy life.
Create a repo from this template on GitHub
If you prefer to do it manually with the cleaner git history
npx degit AR10Dev/solid-tailwind-ts-vite-router my-app
cd my-app
npm install # or pnpm install or yarn install
When you use this template, follow the checklist to update your info properly
- Rename
name
,version
andauthor
field inpackage.json
- Change the author name in
LICENSE
- Clean up the READMEs
- Optional: Remove the
.github
folder which contains the github actions and the renovate config - Enjoy 😉
npm run dev # or pnpm dev or yarn dev
Runs the app in the development mode.
Open http://localhost:5173 to view it in the browser.
The page will reload automatically if you make edits.
npm run build # or pnpm build or yarn build
Builds the app for production to the dist
folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
You can deploy the dist
folder to any static host provider (netlify, surge, now, etc.)
The following list provides maintained templates variations with different preferences and feature sets.
-
solid-tailwind-ts-vite - The base for this template
-
tauri-solid-ts-tailwind-vite - Based on this template, it offers the integration with Tauri
-
solidjs/templates - Solid templates created by Solid Team