create-reactaform-app 0.1.0 → 0.1.1
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 +34 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,40 @@
|
|
|
2
2
|
|
|
3
3
|
Scaffold a minimal Vite (default) or Next.js React app with ReactaForm preconfigured. Paste a form definition and see results instantly.
|
|
4
4
|
|
|
5
|
+
## Install the CLI
|
|
6
|
+
|
|
7
|
+
The CLI is published on npm. Install it globally to run the `create-reactaform-app` command directly, or use `npx`/`yarn dlx`/`pnpm dlx` to run without installing.
|
|
8
|
+
|
|
9
|
+
Global install (npm):
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install -g create-reactaform-app
|
|
13
|
+
# then run
|
|
14
|
+
create-reactaform-app my-app
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Using `npx` (no install):
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npx create-reactaform-app my-app
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Yarn (global):
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
yarn global add create-reactaform-app
|
|
27
|
+
# then run
|
|
28
|
+
create-reactaform-app my-app
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
pnpm (global):
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pnpm add -g create-reactaform-app
|
|
35
|
+
# then run
|
|
36
|
+
create-reactaform-app my-app
|
|
37
|
+
```
|
|
38
|
+
|
|
5
39
|
## Quick start
|
|
6
40
|
Create a new app from the CLI (JavaScript):
|
|
7
41
|
|