5592e64c36
* fix: with-mobx * refactor: up link * refactor: npm run prettier-fix * refactor: server side render * Updated store implementation and pages * Updated readme Co-authored-by: wangcheng <wangcheng@deepblueai.com> Co-authored-by: Luis Alvarez <luis@zeit.co>
11 lines
377 B
JavaScript
11 lines
377 B
JavaScript
import Page from '../components/Page'
|
|
|
|
export default function SSG() {
|
|
return <Page title="Index Page" linkTo="/other" />
|
|
}
|
|
|
|
// If you build and start the app, the date returned here will have the same
|
|
// value for all requests, as this method gets executed at build time.
|
|
export function getStaticProps() {
|
|
return { props: { initialState: { lastUpdate: Date.now() } } }
|
|
}
|