tobius / svelte-tailwind-template

Template for building web applications with Svelte 3 + Tailwind

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Svelte + Tailwind Template

Looking for the official Svelte template? Go here --> github.com/sveltejs/template

This web application template was put together with Svelte 3 and Tailwind.

Setup

[~] npm i -g degit
[~] npx degit tobius/svelte-template app && cd app
[~/app] npm i

Development

[~/app] npm run dev
  • Open localhost:5000
  • Edit a component file in src
  • Save it (the browser will reload automatically)

Production

Every environment is different, but the same basic steps exist for all:

  1. Point your preinstall command at npm run build
  2. Point your start command at npm run start

About

Template for building web applications with Svelte 3 + Tailwind


Languages

Language:JavaScript 81.9%Language:HTML 18.1%