feat(items): implement initial item management system

This commit introduces the foundational structure and core features for the item management application.

Key features implemented:
- **Item Listing:** A main page displaying all items in a searchable UTable.
- **Item Creation:** An "Add Item" modal with a UForm for input and validation using Zod.
- **State Management:** A `useItemsStore` composable built with `@vueuse/core`'s `useLocalStorage` to persist item data
in the browser.
- **UI Framework:** Integrated Nuxt UI for components like tables, modals, forms, and the overall layout.
- **Application Shell:** Established a default layout with a header, navigation menu, and placeholders for Export and
History pages.
- **Project Setup:** Configured pnpm workspace, Tailwind CSS, and VSCode editor settings for an improved development
experience.
This commit is contained in:
xiaomai
2025-10-14 09:36:59 +08:00
parent c0ba7ac0ff
commit e05c41eb07
13 changed files with 493 additions and 4 deletions

10
app/assets/css/main.css Normal file
View File

@@ -0,0 +1,10 @@
@import "tailwindcss";
@import "@nuxt/ui";
.router-link-exact-active {
@apply text-blue-600 bg-blue-50;
}
.router-link-active {
@apply text-blue-600 bg-blue-50;
}