svelte-tailwindcss-skeleton Svelte Themes

Svelte Tailwindcss Skeleton

Project skeleton to make project setup easier for myself

Contains

  • Svelte as Frontend Framework
  • TailwindCSS for component styling
  • Playwright for E2E Testing
  • Vitest for Unit Testing
  • ESLint as linter
  • Prettier for formatting
  • clsx for dynamic class conditions
  • dotenv for environment variables

Push to another branch

Clone repository:

git clone <url_to_this_repository> your_project_directory
cd your_project_directory

Replace remotes:

git remote -v

git remote remove <remote_name> # typically origin
git remote add <your_new_repository_url> 

Publish branch:

git push -u origin

Local setup

Install dependencies

npm i

Copy environment variables

cp .env.example .env

Run application

npm run dev

Application is available under localhost:3000 (or whichever port is specified in vite.config.ts)

Top categories

Loading Svelte Themes