Skip to content

Commit 94a7a8e

Browse files
committed
Support for Three.js
1 parent 38e2196 commit 94a7a8e

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Zero‑config `npx` tool and template to run, build, or create full projects fro
99
- Run an Artifact in seconds, without having to create a project first and build it
1010
- Build single‑file or multi‑file outputs ready to deploy anywhere
1111
- Create a full React + TypeScript + Vite + Tailwind + Shadcn UI project
12-
- Includes additional libraries when needed: Recharts, Lucide React, and more
12+
- Includes additional libraries when needed: Recharts, Three.js, and more
1313
- Combine multiple Artifacts into a multi‑page app (file‑based routing)
1414
- Run locally or deploy to any web hosting service
1515

@@ -191,6 +191,7 @@ These are the libraries and frameworks this project provides, identical* to thos
191191
5. **Tailwind CSS** for compact and expressive embedded styling.
192192
6. **Recharts** for creating dynamic, customizable charts and data visualizations.
193193
7. **Lucide React** for a comprehensive library of open-source icons designed for React applications.
194+
8. **Three.js** for creating 3D graphics and animations.
194195

195196
> \* Note that the actual versions of the packages currently in use in the Artifacts environment may differ from the ones installed by this project, as Anthropic may update them from time to time.
196197
> If a component generated by Claude fails to run properly because of an outdated package, please let me know.

package-lock.json

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
"sonner": "^1.5.0",
8282
"tailwind-merge": "^2.4.0",
8383
"tailwindcss-animate": "^1.0.7",
84+
"three": "^0.181.0",
8485
"vaul": "^0.9.1",
8586
"zod": "^3.23.8"
8687
},

0 commit comments

Comments
 (0)