mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Update setup docs
This commit is contained in:
parent
1af0071233
commit
a2a14833ee
File diff suppressed because one or more lines are too long
@ -218,7 +218,9 @@ The frameworks and languages with explicit SDK support are:
|
||||
If you already use Hexclave for your product, we recommend you re-use the same project to share your configuration between the two.
|
||||
|
||||
<AccordionGroup>
|
||||
<Accordion title="Option 1: Running Hexclave's dev environment (recommended)" defaultOpen>
|
||||
<Accordion title="Option 1: Running Hexclave's dashboard locally (recommended)" defaultOpen>
|
||||
This is the strongly recommended option unless the user has explicitly said otherwise, as it allows usage of `stack.config.ts` files and does not require the user to get project IDs or API keys from the dashboard.
|
||||
|
||||
First, create a `stack.config.ts` configuration file in the root directory of the workspace (or anywhere else):
|
||||
|
||||
```ts stack.config.ts
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -519,7 +519,9 @@ export function getSdkSetupPrompt(mainType: "ai-prompt" | "nextjs" | "react" | "
|
||||
` : ""}
|
||||
|
||||
<AccordionGroup>
|
||||
<Accordion title="Option 1: Running Hexclave's dev environment (recommended)" defaultOpen>
|
||||
<Accordion title="Option 1: Running Hexclave's dashboard locally (recommended)" defaultOpen>
|
||||
${isAiPrompt ? "This is the strongly recommended option unless the user has explicitly said otherwise, as it allows usage of \`stack.config.ts\` files and does not require the user to get project IDs or API keys from the dashboard." : ""}
|
||||
|
||||
First, create a \`stack.config.ts\` configuration file in the root directory of the workspace (or anywhere else):
|
||||
|
||||
\`\`\`ts stack.config.ts
|
||||
|
||||
Loading…
Reference in New Issue
Block a user