forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnode.js
More file actions
44 lines (41 loc) · 928 Bytes
/
node.js
File metadata and controls
44 lines (41 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import Runtime from '../utils/runtime'
import Time from '../utils/time'
import Link from 'next/link'
export default function Page() {
return (
<div>
This is a static page.
<br />
<Runtime />
<br />
<Time />
<br />
<Link href="/node-rsc" id="link-node-rsc">
to /node-rsc
</Link>
<br />
<Link href="/node-rsc-ssg" id="link-node-rsc-ssg">
to /node-rsc-ssg
</Link>
<br />
<Link href="/node-rsc-ssr" id="link-node-rsc-ssr">
to /node-rsc-ssr
</Link>
<br />
<Link href="/node-rsc-isr" id="link-node-rsc-isr">
to /node-rsc-isr
</Link>
<br />
<Link href="/node-ssg" id="link-node-ssg">
to /node-ssg
</Link>
<br />
<Link href="/node-ssr" id="link-node-ssr">
to /node-ssr
</Link>
</div>
)
}
export const config = {
runtime: 'nodejs',
}