Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

henrikvilhelmberglund/branschdag-2023-03

Repository files navigation

SvelteKit UnoCSS Template

This is a template containing the following:

  • SvelteKit with adapter-static for easier Github Pages deployment
  • UnoCSS using Svelte scoped mode
  • Prettier Plugin TailwindCSS for auto sorting of classes
  • Commit-and-Tag-Version for CHANGELOG generation and Github tagging of versions
  • PrismJS with Prism-Svelte for syntax highlighting of code blocks

Prettier Plugin TailwindCSS auto loading is broken when using pnpm so I recommend npm.

Don't forget to import the base path alias:

<script>
	import { base } from "$app/paths";
</script>

and write {base} before local links for them to work on Github Pages! (see /routes/+page.svelte)

Have fun!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published