Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion prototypes/docusaurus/src/constants/prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const prompts: Prompt[] = [
{
"id": "create-app",
"title": "Start a new app",
"prompt": "Set up a new Rails app with React on Rails, using TypeScript and server-side rendering. Follow the official guide at https://reactonrails.com/docs/getting-started/create-react-on-rails-app and use the exact commands and versions it specifies — don't improvise.",
"prompt": "Set up a new Rails app using the default React on Rails Pro path (no token required for development, test, CI/CD, or staging; production requires a paid license) with TypeScript and server-side rendering. Follow the official guide at https://reactonrails.com/docs/getting-started/create-react-on-rails-app exactly; don't improvise commands or versions. Use --standard only when you intentionally want an open-source-only scaffold.",
"href": "/docs/getting-started/create-react-on-rails-app",
"category": "get-started"
},
Expand Down
5 changes: 5 additions & 0 deletions prototypes/docusaurus/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ const valueCards = [
description:
'Start with open source docs, then add Pro when SSR throughput, RSC support, or guided support matters.',
},
{
title: 'Modern data fetching',
description:
'Pair Rails JSON APIs with TanStack Query for client-side caching, mutations, and first-paint data, without adding a second backend.',
},
];

const migrationGuides = [
Expand Down
2 changes: 1 addition & 1 deletion prototypes/docusaurus/static/prompts.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"category": "get-started",
"doc_route": "/docs/getting-started/create-react-on-rails-app",
"doc_url": "https://reactonrails.com/docs/getting-started/create-react-on-rails-app",
"prompt": "Set up a new Rails app with React on Rails, using TypeScript and server-side rendering. Follow the official guide at https://reactonrails.com/docs/getting-started/create-react-on-rails-app and use the exact commands and versions it specifies — don't improvise."
"prompt": "Set up a new Rails app using the default React on Rails Pro path (no token required for development, test, CI/CD, or staging; production requires a paid license) with TypeScript and server-side rendering. Follow the official guide at https://reactonrails.com/docs/getting-started/create-react-on-rails-app exactly; don't improvise commands or versions. Use --standard only when you intentionally want an open-source-only scaffold."
},
{
"id": "install-existing",
Expand Down
2 changes: 1 addition & 1 deletion prototypes/docusaurus/static/prompts/llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ID: create-app
Category: get-started
Doc: https://reactonrails.com/docs/getting-started/create-react-on-rails-app

Set up a new Rails app with React on Rails, using TypeScript and server-side rendering. Follow the official guide at https://reactonrails.com/docs/getting-started/create-react-on-rails-app and use the exact commands and versions it specifies — don't improvise.
Set up a new Rails app using the default React on Rails Pro path (no token required for development, test, CI/CD, or staging; production requires a paid license) with TypeScript and server-side rendering. Follow the official guide at https://reactonrails.com/docs/getting-started/create-react-on-rails-app exactly; don't improvise commands or versions. Use --standard only when you intentionally want an open-source-only scaffold.

### Add to an existing Rails app

Expand Down
Loading