Files
next.js/test/production/empty-ssg-fallback/pages/[...slug].tsx

16 lines
240 B
TypeScript

export const getStaticPaths = async () => {
return {
paths: [],
fallback: 'blocking',
}
}
export const getStaticProps = async () => {
return {
notFound: true,
}
}
export default function Page() {
return <p>slug</p>
}