2020-02-19 17:13:04 +01:00
|
|
|
import styles from './styles.module.css'
|
|
|
|
|
|
|
|
function All({ params }) {
|
|
|
|
return (
|
|
|
|
<div id="nested-all-ssg-content" className={styles.test}>
|
|
|
|
{JSON.stringify(params)}
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2020-02-27 18:57:39 +01:00
|
|
|
export function getStaticProps({ params }) {
|
2020-02-19 17:13:04 +01:00
|
|
|
return { props: { params } }
|
|
|
|
}
|
|
|
|
|
2020-02-27 18:57:39 +01:00
|
|
|
export function getStaticPaths() {
|
2020-02-21 06:57:10 +01:00
|
|
|
return {
|
|
|
|
paths: [],
|
2020-02-27 13:23:28 +01:00
|
|
|
fallback: true,
|
2020-02-21 06:57:10 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-19 17:13:04 +01:00
|
|
|
export default All
|