Skip to content

Commit e1d613b

Browse files
committed
llama web interface done.
1 parent b4f9856 commit e1d613b

21 files changed

+2470
-330
lines changed

components.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": false,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "tailwind.config.js",
8+
"css": "src/index.css",
9+
"baseColor": "zinc",
10+
"cssVariables": false
11+
},
12+
"aliases": {
13+
"components": "@/components",
14+
"utils": "@/lib/utils"
15+
}
16+
}

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Vite + React + TS</title>
7+
<title>Ollama Chat Box</title>
88
</head>
99
<body>
1010
<div id="root"></div>

package.json

+19-1
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,38 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13+
"@radix-ui/react-dialog": "^1.0.4",
14+
"@radix-ui/react-icons": "^1.3.0",
15+
"@radix-ui/react-select": "^1.2.2",
16+
"@radix-ui/react-slot": "^1.0.2",
17+
"@uiw/react-textarea-code-editor": "^2.1.7",
18+
"@vitejs/plugin-react": "^4.0.4",
1319
"axios": "^1.5.0",
20+
"class-variance-authority": "^0.7.0",
21+
"clsx": "^2.0.0",
22+
"dayjs": "^1.11.9",
1423
"react": "^18.2.0",
1524
"react-dom": "^18.2.0",
16-
"styled-components": "^6.0.8"
25+
"simple-core-state": "^0.0.16",
26+
"styled-components": "^6.0.8",
27+
"tailwind-merge": "^1.14.0",
28+
"tailwindcss-animate": "^1.0.7"
1729
},
1830
"devDependencies": {
31+
"@types/ndjson": "^2.0.1",
32+
"@types/node": "^20.6.2",
1933
"@types/react": "^18.2.15",
2034
"@types/react-dom": "^18.2.7",
2135
"@typescript-eslint/eslint-plugin": "^6.0.0",
2236
"@typescript-eslint/parser": "^6.0.0",
2337
"@vitejs/plugin-react-swc": "^3.3.2",
38+
"autoprefixer": "^10.4.15",
2439
"eslint": "^8.45.0",
2540
"eslint-plugin-react-hooks": "^4.6.0",
2641
"eslint-plugin-react-refresh": "^0.4.3",
42+
"ndjson": "^2.0.0",
43+
"postcss": "^8.4.29",
44+
"tailwindcss": "^3.3.3",
2745
"typescript": "^5.0.2",
2846
"vite": "^4.4.5"
2947
}

0 commit comments

Comments
 (0)