diff --git a/prototypes/docusaurus/src/constants/prompts.ts b/prototypes/docusaurus/src/constants/prompts.ts index 22b2928..943010c 100644 --- a/prototypes/docusaurus/src/constants/prompts.ts +++ b/prototypes/docusaurus/src/constants/prompts.ts @@ -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" }, diff --git a/prototypes/docusaurus/src/pages/index.tsx b/prototypes/docusaurus/src/pages/index.tsx index a2eba80..c01f9cf 100644 --- a/prototypes/docusaurus/src/pages/index.tsx +++ b/prototypes/docusaurus/src/pages/index.tsx @@ -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 = [ diff --git a/prototypes/docusaurus/static/prompts.json b/prototypes/docusaurus/static/prompts.json index ee3060c..9427cec 100644 --- a/prototypes/docusaurus/static/prompts.json +++ b/prototypes/docusaurus/static/prompts.json @@ -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", diff --git a/prototypes/docusaurus/static/prompts/llms.txt b/prototypes/docusaurus/static/prompts/llms.txt index 390e95a..62d1bc4 100644 --- a/prototypes/docusaurus/static/prompts/llms.txt +++ b/prototypes/docusaurus/static/prompts/llms.txt @@ -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