Add src/utils.ts
This commit is contained in:
parent
e12333aff2
commit
1c1333baf7
|
|
@ -0,0 +1,3 @@
|
|||
export function createPageUrl(pageName: string) {
|
||||
return '/' + pageName.replace(/ /g, '-');
|
||||
}
|
||||
Loading…
Reference in New Issue