Skip to content

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

Notifications You must be signed in to change notification settings

natethor/svelte-tailwind-template

Repository files navigation

Svelte + TS + Vite + Tailwind

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

Recommended IDE Setup

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published