create-gridland 0.2.54 → 0.2.55
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 +31 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# create-gridland
|
|
2
|
+
|
|
3
|
+
Scaffold a new [Gridland](https://gridland.io) project.
|
|
4
|
+
|
|
5
|
+
Gridland is a React framework for building terminal apps that also run in the browser — same source, same components, two runtime targets.
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
bunx create-gridland my-app
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
You'll be prompted to choose a template:
|
|
14
|
+
|
|
15
|
+
- **CLI app** — Bun-powered terminal app (`@gridland/bun`)
|
|
16
|
+
- **Vite** — Browser app that renders TUI components on an HTML canvas (`@gridland/web`)
|
|
17
|
+
- **Next.js** — Next.js site with embedded Gridland TUI components
|
|
18
|
+
|
|
19
|
+
Then:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
cd my-app
|
|
23
|
+
bun install
|
|
24
|
+
bun dev
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Documentation
|
|
28
|
+
|
|
29
|
+
Full docs at [gridland.io/docs](https://gridland.io/docs)
|
|
30
|
+
|
|
31
|
+
Source: [github.com/thoughtfulllc/gridland](https://github.com/thoughtfulllc/gridland)
|