Skip to content

Commit

Permalink
feat(web): add shadcn and some components
Browse files Browse the repository at this point in the history
  • Loading branch information
MrExplode committed Nov 2, 2024
1 parent f370ba2 commit faa9047
Show file tree
Hide file tree
Showing 32 changed files with 852 additions and 13 deletions.
2 changes: 2 additions & 0 deletions webapp/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
package-lock.json
pnpm-lock.yaml
yarn.lock

svelte.config.js
17 changes: 17 additions & 0 deletions webapp/components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://next.shadcn-svelte.com/schema.json",
"style": "default",
"tailwind": {
"config": "tailwind.config.ts",
"css": "src\\app.css",
"baseColor": "slate"
},
"aliases": {
"components": "$lib/components",
"utils": "$lib/utils",
"ui": "$lib/components/ui",
"hooks": "$lib/hooks"
},
"typescript": true,
"registry": "https://next.shadcn-svelte.com/registry"
}
5 changes: 5 additions & 0 deletions webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@types/eslint": "^9.6.0",
"autoprefixer": "^10.4.20",
"bits-ui": "1.0.0-next.37",
"clsx": "^2.1.1",
"eslint": "^9.7.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.36.0",
Expand All @@ -30,7 +32,10 @@
"prettier-plugin-tailwindcss": "^0.6.5",
"svelte": "^5.0.0",
"svelte-check": "^4.0.0",
"tailwind-merge": "^2.5.4",
"tailwind-variants": "^0.2.1",
"tailwindcss": "^3.4.9",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5.0.0",
"typescript-eslint": "^8.0.0",
"vite": "^5.0.3",
Expand Down
135 changes: 135 additions & 0 deletions webapp/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit faa9047

Please sign in to comment.