Skip to content

Commit 1fbb8ab

Browse files
Copilothotlong
andcommitted
Fix Tab component usage in quick-start guides
Remove unsupported Tabs/Tab components and use simple section headers instead. Build now completes successfully. Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent b2f0aa5 commit 1fbb8ab

2 files changed

Lines changed: 4 additions & 20 deletions

File tree

content/docs/quick-start/backend-developers.mdx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ Object Definition → Everything Auto-Generated
1919

2020
## Quick Comparison
2121

22-
<Tabs items={['Traditional (Express + Sequelize)', 'ObjectStack Protocol']}>
23-
24-
<Tab value="Traditional (Express + Sequelize)">
22+
### Traditional Approach (Express + Sequelize)
2523

2624
```typescript
2725
// 1. Define Model
@@ -49,9 +47,7 @@ const validateTask = (req, res, next) => {
4947
// Total: 4 files, ~150 lines of code
5048
```
5149

52-
</Tab>
53-
54-
<Tab value="ObjectStack Protocol">
50+
### ObjectStack Protocol
5551

5652
```typescript
5753
// Everything in ONE definition
@@ -79,10 +75,6 @@ export const Task = ObjectSchema.create({
7975
// Total: 1 file, ~15 lines of code
8076
```
8177

82-
</Tab>
83-
84-
</Tabs>
85-
8678
## Field Types You Know and Love
8779

8880
ObjectStack provides **23+ field types** with automatic validation:

content/docs/quick-start/frontend-developers.mdx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ ObjectStack: Define UI JSON → Instant Update (no rebuild!)
1616

1717
## Quick Comparison
1818

19-
<Tabs items={['Traditional React', 'ObjectStack Protocol']}>
20-
21-
<Tab value="Traditional React">
19+
### Traditional React
2220

2321
```tsx
2422
// 1. Build data grid component
@@ -71,9 +69,7 @@ function TaskForm({ taskId }) {
7169
// Total: 2 components, ~100 lines of code
7270
```
7371

74-
</Tab>
75-
76-
<Tab value="ObjectStack Protocol">
72+
### ObjectStack Protocol
7773

7874
```typescript
7975
// Define UI as JSON - Renderer handles everything
@@ -113,10 +109,6 @@ export const TaskFormView = FormView.create({
113109
// ✅ Loading/Error states handled automatically
114110
```
115111

116-
</Tab>
117-
118-
</Tabs>
119-
120112
## View Types
121113

122114
ObjectStack provides **5 pre-built view types**:

0 commit comments

Comments
 (0)