2019-11-28 04:46:16 +01:00
|
|
|
import React from 'react'
|
|
|
|
|
2020-02-27 18:57:39 +01:00
|
|
|
export async function getStaticPaths() {
|
2020-02-27 13:23:28 +01:00
|
|
|
return { paths: [{ foo: 'bad', baz: 'herro' }], fallback: true }
|
2019-11-28 04:46:16 +01:00
|
|
|
}
|
|
|
|
|
2020-02-27 18:57:39 +01:00
|
|
|
export async function getStaticProps({ params }) {
|
2019-11-28 04:46:16 +01:00
|
|
|
return {
|
|
|
|
props: {
|
|
|
|
post: params.post,
|
|
|
|
time: (await import('perf_hooks')).performance.now(),
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default () => {
|
|
|
|
return <div />
|
|
|
|
}
|