|
|
преди 1 месец | |
|---|---|---|
| .vscode | преди 1 месец | |
| docs | преди 1 месец | |
| messages | преди 1 месец | |
| project.inlang | преди 1 месец | |
| src | преди 1 месец | |
| static | преди 1 месец | |
| .gitignore | преди 1 месец | |
| .npmrc | преди 1 месец | |
| AGENTS.md | преди 1 месец | |
| LICENSE.md | преди 1 месец | |
| README.md | преди 1 месец | |
| jsconfig.json | преди 1 месец | |
| package.json | преди 1 месец | |
| pnpm-lock.yaml | преди 1 месец | |
| pnpm-workspace.yaml | преди 1 месец | |
| vite.config.js | преди 1 месец |
A modern SvelteKit application with Svelte 5 runes, Tailwind CSS, and Flowbite components.
Install dependencies:
pnpm install
Start the dev server on http://localhost:3000:
npm run dev
# Auto-open in browser
npm run dev -- --open
Hot module reload enabled by default.
Create a production build:
npm run build
Preview the production build locally:
npm run preview
Production output goes to /build/ (configured for Node.js via @sveltejs/adapter-node).
src/routes/ — SvelteKit filesystem routessrc/lib/ — Reusable components and utilities (access via $lib alias)src/app.html — HTML shell (dark mode enabled via class="dark")@tailwindcss/vite + Forms/Typography plugins@sveltejs/adapter-node)All .svelte files use runes mode by default. Use:
$state() for reactive variables$derived for computed values$effect() for side effects{#snippet} for component snippets (e.g., icon slots)See Svelte 5 runes documentation.
app.html (remove class="dark" from <html> to disable)<style> blocks in .svelte filessrc/app.html line 9 has a typo: lass= should be class=. This affects body element dark mode styling.