You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/create/src/frameworks/react/add-ons/strapi/README.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
## Strapi CMS Integration
2
2
3
-
This add-on integrates Strapi CMS with your TanStack Start application using the official Strapi Client SDK. The Strapi server is created as a sibling directory during setup.
3
+
This add-on integrates Strapi CMS with your TanStack Start application using the official Strapi Client SDK.
4
4
5
5
### Features
6
6
@@ -31,22 +31,28 @@ parent/
31
31
│ │ │ └── strapi-utils.ts
32
32
│ │ ├── routes/demo/
33
33
│ │ │ ├── strapi.tsx # Articles list
34
-
│ │ │ └── strapi_.$articleId.tsx # Article detail
34
+
│ │ │ └── strapi.$articleId.tsx # Article detail
35
35
│ │ └── types/
36
36
│ │ └── strapi.ts
37
37
│ ├── .env.local
38
38
│ └── package.json
39
-
└── server/ # Strapi CMS backend (auto-created)
39
+
└── server/ # Strapi CMS backend (create manually or use hosted Strapi)
40
40
├── src/api/ # Content types
41
41
├── config/ # Strapi configuration
42
42
└── package.json
43
43
```
44
44
45
45
### Quick Start
46
46
47
-
The Strapi server is automatically cloned from the official [Strapi Cloud Template Blog](https://github.com/strapi/strapi-cloud-template-blog).
47
+
Create your Strapi project separately (or use an existing hosted Strapi instance), then point this app to it with `VITE_STRAPI_URL`.
48
48
49
-
**1. Install Strapi dependencies:**
49
+
**1. Set up Strapi:**
50
+
51
+
Follow the Strapi quick-start guide to create a local project, or use your existing Strapi deployment:
52
+
53
+
-https://docs.strapi.io/dev-docs/quick-start
54
+
55
+
If you created a local Strapi project in a sibling `server` directory, continue with:
0 commit comments