rsnext/test/integration/dynamic-routing/pages/p1/p2/nested-all-ssg/[...rest]/index.js

23 lines
395 B
JavaScript
Raw Normal View History

import styles from './styles.module.css'
function All({ params }) {
return (
<div id="nested-all-ssg-content" className={styles.test}>
{JSON.stringify(params)}
</div>
)
}
export function unstable_getStaticProps({ params }) {
return { props: { params } }
}
export function unstable_getStaticPaths() {
return {
paths: [],
fallback: true,
}
}
export default All