diff --git a/docs/pages/index.mdx b/docs/pages/index.mdx index 2dfefd0a2..d91135701 100644 --- a/docs/pages/index.mdx +++ b/docs/pages/index.mdx @@ -7,7 +7,7 @@ import { HomePage } from "vocs/components";

frames.js

- + **frames.js** is the fastest way to make Frames. @@ -41,24 +41,22 @@ import { HomePage } from "vocs/components"; Run one of the commands below based on your preferred package manager and then follow the steps in the terminal. -### Using npm +:::code-group -```sh +```bash [npm] npm init frames ``` -### Using yarn - -```sh +```bash [yarn] yarn create frames ``` -### Using pnpm - -```sh +```bash [pnpm] pnpm create frames ``` +::: + ## Alternatively, add frames.js to your existing project manually ### Start with frames.js in Next.js in three steps @@ -76,7 +74,12 @@ export async function generateMetadata() { return { title: "My page", other: await fetchMetadata( - new URL("/frames", process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}` : "http://localhost:3000") + new URL( + "/frames", + process.env.VERCEL_URL + ? `https://${process.env.VERCEL_URL}` + : "http://localhost:3000" + ) ), }; }