svelte-tailwind-template

Svelte Tailwind Template

A starter template for developing with Svelte, TypeScript, and Tailwind CSS in ViteJS.

Svelte + TS + Vite + Tailwind

A starter template for developing with Svelte, TypeScript, and Tailwind CSS in ViteJS.

VS Code + Svelte.

Setup

  1. Have NodeJS installed
  2. Install yarn if missing: npm install yarn
  3. Run yarn install

Commands

In the project directory, you can run:

yarn dev

Runs the app in the development mode.
Open http://localhost:5173 to view it in the browser.
The page will reload if you make edits.

yarn build

Builds the app for production to the dist folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

yarn preview

Preview the production build from the dist folder.

yarn check

Runs a Svelte Check using the Typescript config.

Top categories

Loading Svelte Themes