feat(04-03): install Svelecte and add tag support to load/actions

- Install svelecte package for tag input with autocomplete
- Import tagRepository in +page.server.ts
- Attach tags to entries in load function alongside images
- Return allTags for autocomplete suggestions
- Add updateTags action to update entry tags via JSON payload
This commit is contained in:
Thomas Richter
2026-01-31 13:07:08 +01:00
parent 66fc04efe7
commit cfdb804118
3 changed files with 44 additions and 5 deletions

View File

@@ -36,6 +36,7 @@
"drizzle-orm": "^0.45.1",
"nanoid": "^5.1.6",
"sharp": "^0.34.5",
"svelecte": "^5.3.0",
"svelte-gestures": "^5.2.2",
"svelte-lightbox": "^1.1.7",
"svelte-persisted-store": "^0.12.0",