Skip to content

AR10Dev/solid-tailwind-ts-vite-router

Repository files navigation

A starter template for Solid that comes preconfigured with Vite, TypeScript, Tailwind CSS, ESLint, Prettier, HMR and file based routing.

Features

  • ⚡️ Solid & Vite - Simple and performant reactivity for building user interfaces.

  • 🗂 File based routing

  • 🎨 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.


Try it now!

GitHub Template

Create a repo from this template on GitHub

Clone to local

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

Checklist

When you use this template, follow the checklist to update your info properly

  • Rename name, version and author field in package.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 😉

Usage

Development

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.

Build

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!

Deployment

You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)

Variations

The following list provides maintained templates variations with different preferences and feature sets.