dimfeld / svelte-tailwind-template

Svelte with Tailwind CSS, Babel, ESLint, and Typescript support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Svelte Tailwind Template

Get started

npx degit https://github.com/dimfeld/svelte-tailwind-template DIRNAME
cd DIRNAME
yarn

...then start Rollup:

yarn dev

Navigate to localhost:5000. You should see your app running. Edit a component file in src, save it, and reload the page to see your changes.

Deploying to the web

With now

Install now if you haven't already:

npm install -g now

Then, from within your project folder:

now

As an alternative, use the Now desktop client and simply drag the unzipped project folder to the taskbar icon.

With surge

Install surge if you haven't already:

npm install -g surge

Then, from within your project folder:

npm run build
surge public

About

Svelte with Tailwind CSS, Babel, ESLint, and Typescript support


Languages

Language:JavaScript 91.5%Language:HTML 6.4%Language:CSS 2.1%