fix(docs): update paths in configuration and core app shell documentation
This commit is contained in:
@@ -230,7 +230,7 @@ In the target web app's entry point (e.g., `apps/web/src/apps/index.tsx`):
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
All routes transition to hash-based addressing: `#/app/dashboard`, `#/auth/login`, `#/showcase`.
|
All routes transition to hash-based addressing: `#/app/dashboard`, `#/auth/login`.
|
||||||
|
|
||||||
### Step 2: Decommission the Custom Protocol — Main Process
|
### Step 2: Decommission the Custom Protocol — Main Process
|
||||||
|
|
||||||
|
|||||||
@@ -317,7 +317,7 @@ A full working example is available in the showcase booking feature:
|
|||||||
|
|
||||||
| File | Description |
|
| File | Description |
|
||||||
| ---- | ----------- |
|
| ---- | ----------- |
|
||||||
| `apps/web/.../booking/data/booking.transformer.ts` | Basic transformer with snake_case ↔ camelCase mapping |
|
| `apps/showcase/.../booking/data/booking.transformer.ts` | Basic transformer with snake_case ↔ camelCase mapping |
|
||||||
| `apps/web/.../booking/data/booking.data-services.ts` | Data service with injected transformer |
|
| `apps/showcase/.../booking/data/booking.data-services.ts` | Data service with injected transformer |
|
||||||
| `apps/web/.../booking/data/advanced-booking.transformer.ts` | Extended transformer with custom chart method |
|
| `apps/showcase/.../booking/data/advanced-booking.transformer.ts` | Extended transformer with custom chart method |
|
||||||
| `apps/web/.../booking/data/advanced-booking.data-services.ts` | Extended service with custom `getAvailabilityChart()` |
|
| `apps/showcase/.../booking/data/advanced-booking.data-services.ts` | Extended service with custom `getAvailabilityChart()` |
|
||||||
|
|||||||
@@ -418,7 +418,7 @@ function App() {
|
|||||||
|
|
||||||
### Interactive Config Builder
|
### Interactive Config Builder
|
||||||
|
|
||||||
The showcase demo at `apps/web/src/apps/showcase/shell-demo/` demonstrates a live, interactive config builder where every feature toggle and variant switch updates the layout in real-time. The key pattern is managing `config` state externally and passing it as a prop:
|
The showcase demo at `apps/showcase/src/pages/showcase-original/shell-demo/` demonstrates a live, interactive config builder where every feature toggle and variant switch updates the layout in real-time. The key pattern is managing `config` state externally and passing it as a prop:
|
||||||
|
|
||||||
```tsx
|
```tsx
|
||||||
import { useState, useMemo } from 'react';
|
import { useState, useMemo } from 'react';
|
||||||
|
|||||||
Reference in New Issue
Block a user