mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
This adds some additional API surface for `build-complete` adapter hook. Wiring up prerenders and additional configs.
19 lines
288 B
TypeScript
19 lines
288 B
TypeScript
export function getServerSideProps() {
|
|
return {
|
|
props: {
|
|
now: Date.now(),
|
|
},
|
|
}
|
|
}
|
|
|
|
export default function Page(props) {
|
|
return (
|
|
<>
|
|
<p>/node-pages</p>
|
|
<p>hello world</p>
|
|
<p>now: {Date.now()}</p>
|
|
<p>{JSON.stringify(props)}</p>
|
|
</>
|
|
)
|
|
}
|