create-primitiv-ui 0.2.3 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
Set up **Primitiv UI** in an existing Vite or Next.js project with a
|
|
4
4
|
single command.
|
|
5
5
|
|
|
6
|
+
This is for React projects. For Primitiv Elements in an HTML or
|
|
7
|
+
server-rendered project, run `npx primitiv-ui@latest add <component>`
|
|
8
|
+
instead — it needs no package.json.
|
|
9
|
+
|
|
6
10
|
## Usage
|
|
7
11
|
|
|
8
12
|
```sh
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-primitiv-ui",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "Set up Primitiv UI in an existing Vite or Next.js project. Use with: pnpm create primitiv-ui",
|
|
3
|
+
"version": "0.2.5",
|
|
4
|
+
"description": "Set up Primitiv UI in an existing Vite or Next.js React project. Use with: pnpm create primitiv-ui. For Primitiv Elements in an HTML or server-rendered project, use npx primitiv-ui@latest instead.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"primitiv",
|
|
7
7
|
"design-system",
|