svelte-tailwind-rollup Tailwind Templates

Svelte Tailwind Rollup

Svelte with TailwindCSS

This is a template for use Svelte with TailwindCSS, using Rollup as a bundler.

Get started

  1. download the template or use the command npx degit Raidez/svelte-tailwind-rollup svelte-app
  2. go to the directory
  3. rename the application, search all svelte-tailwind-rollup reference (index.html, package.json)
  4. execute npm install to install dependencies
  5. use npm run dev to start a livereload server on localhost:10001 (by default)
  6. welcome to the Svelte community, good luck 😘.

More informations

Rollup is a bundler, it take all files in src/ folder and compile it to the public/ folder and serve it through localhost:8080. It use the file rollup.config.js to make all it's works, feel free to adjust as you want.

All files inside public/ are statics, put your images and another statics ressources here.

You can run the command npm run build, to minify all rollup output, it's the purpose for production.

Top categories

Loading Svelte Themes