feat: Add Tailwind CSS and navigation generation
- Added Tailwind CSS for styling. - Implemented automatic navigation data generation from markdown files. - Created `NavItem` component for rendering navigation items. - Added scripts for navigation generation and updated build process.
This commit is contained in:
@@ -4,14 +4,19 @@
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"generate-nav": "bun scripts/generateNavData.ts",
|
||||
"predev": "bun run generate-nav",
|
||||
"dev": "vite",
|
||||
"prebuild": "bun run generate-nav",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json"
|
||||
"check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json",
|
||||
"check:scripts": "tsc -p tsconfig.scripts.json --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
||||
"@tsconfig/svelte": "^5.0.4",
|
||||
"@types/node": "^22.15.17",
|
||||
"autoprefixer": "^10.4.21",
|
||||
"postcss": "^8.5.3",
|
||||
"svelte": "^5.28.1",
|
||||
@@ -30,4 +35,4 @@
|
||||
"shadcn-svelte": "^0.14.2",
|
||||
"tailwind-merge": "^3.2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user