A starter template for Solid that comes preconfigured with Vite, TypeScript, Tailwind CSS, ESLint, Prettier and HMR.
⚡️ 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 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
name
, version
and author
field in package.json
LICENSE
.github
folder which contains the github actions and the renovate confignpm 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-router - Based on this template but add support to file-system based routing
tauri-solid-ts-tailwind-vite - Based on solid-tailwind-ts-vite-router template, it offers the integration with Tauri
solidjs/templates - Solid templates created by Solid Team