mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
* Add warning when providing query values in exportPathMap for auto-export page * Update test for SSG page also * Update to error instead of warn * Update warn -> Error and check exit code
12 lines
153 B
JavaScript
12 lines
153 B
JavaScript
const Page = () => "I'm SSRed"
|
|
|
|
export async function getStaticProps() {
|
|
return {
|
|
props: {
|
|
hello: 'world',
|
|
},
|
|
}
|
|
}
|
|
|
|
export default Page
|