https://github.com/bastidood/sveltekit-tailwind-template
An opinionated starter template for SvelteKit + Tailwind CSS.
https://github.com/bastidood/sveltekit-tailwind-template
css html javascript svelte sveltekit tailwindcss typescript vite
Last synced: about 1 year ago
JSON representation
An opinionated starter template for SvelteKit + Tailwind CSS.
- Host: GitHub
- URL: https://github.com/bastidood/sveltekit-tailwind-template
- Owner: BastiDood
- Created: 2024-03-22T06:16:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-23T22:45:42.000Z (over 1 year ago)
- Last Synced: 2024-10-24T11:55:19.447Z (over 1 year ago)
- Topics: css, html, javascript, svelte, sveltekit, tailwindcss, typescript, vite
- Language: JavaScript
- Homepage:
- Size: 1.35 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Checklist
- [ ] Update the project `name` in the [`package.json`](./package.json).
# Development
## Running the Web Server
```bash
# Install the dependencies.
pnpm install
# Synchronize auto-generated files from SvelteKit.
pnpm prepare
# Start the development server with live reloading + hot module replacement.
pnpm dev
# Compile the production build (i.e., with optimizations).
pnpm build
# Start the production preview server.
pnpm preview
```
## Linting the Codebase
```bash
# Check Formatting
pnpm fmt # prettier
# Apply Formatting Auto-fix
pnpm fmt:fix # prettier --write
# Check Linting Rules
pnpm lint:js # eslint
pnpm lint:svelte # svelte-check
# Check All Lints in Parallel
pnpm lint
```