Skip to content

Commit 18dd37c

Browse files
committed
update cli
1 parent 9706f74 commit 18dd37c

File tree

14 files changed

+399
-140
lines changed

14 files changed

+399
-140
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
![Tagline](https://img.shields.io/badge/The_ZERO_re--render_UI_state_library-%235500AD?style=flat&label=)
44

5-
</p>
5+
</a>
66

77
<p align="center" style="display:flex; align-items:center;">
88
<img width="1000" height="144" alt="Frame 342" src="https://raw.githubusercontent.com/react-zero-ui/core/upgrade/resolver/docs/assets/zero-ui-logo.png" />
@@ -63,7 +63,9 @@ React Zero-UI uses a hyper-optimized AST resolver in development that scans your
6363

6464
<small>Zero-UI CLI</small>
6565

66-
**Pre-requisites:** <small>Vite or Next.js (App Router)</small>
66+
**Pre-requisites:**
67+
* <small>Vite or Next.js (App Router)</small>
68+
* <small>Tailwind V4 Configured. See [Tailwind V4 Installation](https://tailwindcss.com/docs/installation/using-vite)</small>
6769

6870
```bash
6971
npx create-zero-ui

docs/installation-next.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,16 @@ module.exports = {
3131
};
3232
```
3333

34+
3. **Import Tailwind CSS**
35+
36+
```css
37+
// global.css
38+
@import "tailwindcss";
39+
```
40+
3441
---
3542

36-
3. **Start the App**
43+
4. **Start the App**
3744

3845
```bash
3946
npm run dev
@@ -43,7 +50,7 @@ npm run dev
4350
4451
---
4552

46-
4. **Preventing FOUC (Flash Of Unstyled Content)**
53+
5. **Preventing FOUC (Flash Of Unstyled Content)**
4754

4855
Spread `bodyAttributes` on `<body>` in your root layout.
4956

docs/installation-vite.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ export default defineConfig({
3131
});
3232
```
3333

34+
3. **Import Tailwind CSS**
35+
36+
```css
37+
// global.css
38+
@import "tailwindcss";
39+
```
40+
3441
**Thats it.**
3542

3643
The plugin will add the data-\* attributes to the body tag (no FOUC) and the CSS will be injected and transformed by tailwind.

packages/cli/README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,3 @@ PRs welcome at [react-zero-ui/core](https://github.com/react-zero-ui/core).
9191
## License
9292

9393
MIT
94-
95-
96-
---
97-
98-
### ✅ This README:
99-
- Is **npm-ready** and GitHub-friendly.
100-
- Makes **no assumptions** (Vite vs Next.js clearly separated).
101-
- Avoids unnecessary branding/markup.
102-
- Gives devs **trust** by showing exactly what gets modified.
103-
104-
Let me know if you want to auto-generate or publish it with a `postinstall` script that shows a success message with the same info.
105-
```

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-zero-ui",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Zero-UI project scaffolder for React. Instantly sets up zero-runtime UI state, Tailwind variants, PostCSS, and SSR-safe config in Vite or Next.js apps.",
55
"keywords": [
66
"react",

0 commit comments

Comments
 (0)