spank
spank copied to clipboard
multiple folders when building with routify's $url
Firstly, I must commend your amazing works. They've made life easier.
When I use routify's helper function $url to generate links, spank goes on to generate multiple recursive folders and files. When I use normal href, it works fine. Something like:
── register │ ├── contact-us │ │ ├── contact-us │ │ │ └── index.html │ │ ├── index.html │ │ ├── privacy-policy │ │ │ └── index.html │ │ └── terms │ │ └── index.html │ ├── index.html │ ├── privacy-policy │ │ ├── contact-us │ │ │ └── index.html │ │ ├── index.html │ │ ├── privacy-policy │ │ │ └── index.html │ │ └── terms │ │ └── index.html
Please, look into it at your convenience. The workaround is to have normal
<a href='/take-me-home'>...</a>
instead of
<a href={$url('take-me-home')}>...</a>
Thanks.
@onumahkalusamuel sorry I only saw your issue now.
Do you have a route named take-me-home
? By named I mean a file with the following metadata:
<!-- routify:options name="take-me-home" -->
No metadata in the file. Just file named take-me-home.svelte