Commit 55fab50 1 parent c718178 commit 55fab50 Copy full SHA for 55fab50
File tree 1 file changed +13
-10
lines changed
1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { HomePage } from "vocs/components";
7
7
8
8
<HomePage.Root >
9
9
<h1 className = " vocs_HomePage_title" >frames.js</h1 >
10
- <HomePage.InstallPackage name = " frames" type = " init " />
10
+ <HomePage.InstallPackage name = " frames.js " type = " install " />
11
11
<HomePage.Description >
12
12
** frames.js** is the fastest way to make Frames.
13
13
</HomePage.Description >
@@ -41,24 +41,22 @@ import { HomePage } from "vocs/components";
41
41
42
42
Run one of the commands below based on your preferred package manager and then follow the steps in the terminal.
43
43
44
- ### Using npm
44
+ :::code-group
45
45
46
- ``` sh
46
+ ``` bash [npm]
47
47
npm init frames
48
48
```
49
49
50
- ### Using yarn
51
-
52
- ``` sh
50
+ ``` bash [yarn]
53
51
yarn create frames
54
52
```
55
53
56
- ### Using pnpm
57
-
58
- ``` sh
54
+ ``` bash [pnpm]
59
55
pnpm create frames
60
56
```
61
57
58
+ :::
59
+
62
60
## Alternatively, add frames.js to your existing project manually
63
61
64
62
### Start with frames.js in Next.js in three steps
@@ -76,7 +74,12 @@ export async function generateMetadata() {
76
74
return {
77
75
title: " My page" ,
78
76
other: await fetchMetadata (
79
- new URL (" /frames" , process .env .VERCEL_URL ? ` https://${process .env .VERCEL_URL } ` : " http://localhost:3000" )
77
+ new URL (
78
+ " /frames" ,
79
+ process .env .VERCEL_URL
80
+ ? ` https://${process .env .VERCEL_URL } `
81
+ : " http://localhost:3000"
82
+ )
80
83
),
81
84
};
82
85
}
You can’t perform that action at this time.
0 commit comments