Skip to content

Commit 34b98c8

Browse files
committed
replace components with react-net-templates components
1 parent a079afa commit 34b98c8

File tree

15 files changed

+198
-916
lines changed

15 files changed

+198
-916
lines changed

MyApp.Client/_posts/ai-chat.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ access to AI from within your own organization.
2121
AI Chat can be added to any .NET 8+ project by installing the **ServiceStack.AI.Chat** NuGet package and configuration with:
2222

2323
```bash
24-
x mix chat
24+
npx add-in chat
2525
```
2626

2727
Which drops this simple [Modular Startup](https://docs.servicestack.net/modular-startup) that adds the `ChatFeature`
@@ -364,7 +364,7 @@ since most of ServiceStack's functionality is designed around Request DTOs — w
364364
AI Chat can be added to any .NET 8+ project by installing the **ServiceStack.AI.Chat** NuGet package and configuration with:
365365

366366
```bash
367-
x mix chat
367+
npx add-in chat
368368
```
369369

370370
Which drops this simple [Modular Startup](https://docs.servicestack.net/modular-startup) that adds the `ChatFeature`

MyApp.Client/_posts/rdbms-analytics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ IdentityAuth templates, to switch it over to use a RDBMS we recommend installing
4343
also replace SQLite BackgroundJobs with the RDBMS `DatabaseJobFeature`:
4444

4545
```bash
46-
x mix db-identity
46+
npx add-in db-identity
4747
```
4848

4949
Or if you just want to replace SQLite Request Logs with a RDBMS use:
5050

5151
```bash
52-
x mix db-requestlogs
52+
npx add-in db-requestlogs
5353
```
5454

5555
Or you can copy the [Modular Startup](https://docs.servicestack.net/modular-startup) script below:

MyApp.Client/_posts/rdbms-jobs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Best of all, it can be added to an existing .NET 8+ project with a single comman
3939
If you're using [ServiceStack ASP.NET Identity Auth](https://servicestack.net/start) templates, simply run:
4040

4141
```bash
42-
x mix db-identity
42+
npx add-in db-identity
4343
```
4444

4545
This replaces both `Configure.BackgroundJobs.cs` and `Configure.RequestLogs.cs` with RDBMS-compatible versions
@@ -50,7 +50,7 @@ that use `DatabaseJobsFeature` for background jobs and `DbRequestLogger` for API
5050
For all other ServiceStack applications, use:
5151

5252
```bash
53-
x mix db-jobs
53+
npx add-in db-jobs
5454
```
5555

5656
This replaces `Configure.BackgroundJobs.cs` to use the new `DatabaseJobsFeature`:

MyApp.Client/app/page.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ import Layout from "@/components/layout"
66
import { getAllPosts } from "@/lib/api"
77
import { CMS_NAME } from "@/lib/constants"
88
import Post from "@/types/post"
9-
import GettingStarted from "@/components/getting-started"
10-
import BuiltInUis from "@/components/builtin-uis"
119
import type { Metadata } from 'next'
12-
import AutoUis from "@/components/auto-uis"
1310

1411
export const metadata: Metadata = {
1512
title: `Next.js Example with ${CMS_NAME}`,
@@ -32,13 +29,6 @@ export default function Index() {
3229
<Layout>
3330
<Container>
3431
<Intro />
35-
<div className="mb-32 flex justify-center">
36-
<GettingStarted template="nextjs" />
37-
</div>
38-
39-
40-
<AutoUis className="mt-60" />
41-
4232

4333
{heroPost && (
4434
<HeroPost

MyApp.Client/components/auto-uis.tsx

Lines changed: 0 additions & 344 deletions
This file was deleted.

MyApp.Client/components/breadcrumbs.tsx

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)