I have face trubble to get url in getStaticPath
export const getStaticPaths = async (props) => {
if (url === 'blah') {
return {
paths: [
{ params: { pid: "create" } },
],
fallback: true,
};
}
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I have face trubble to get url in getStaticPath
export const getStaticPaths = async (props) => {
if (url === 'blah') {
return {
paths: [
{ params: { pid: "create" } },
],
fallback: true,
};
}