AlexxNB / tinro

Highly declarative, tiny, dependency free router for Svelte's web applications.
MIT License
669 stars 30 forks source link

problems getting meta.params #71

Closed davemcdavid closed 3 years ago

davemcdavid commented 3 years ago

I fixed this!

The answer is route.params.id

The documentation is wrong it says

meta.params

I am getting this error

Uncaught TypeError: b.params is undefined

when I use

in my / form page

My URL is {meta.params.id}

my route is defined as

App.svelte

ghost commented 3 years ago

@davemcdavid can you close this issue since it's solved?

davemcdavid commented 3 years ago

docs need improves about meta tags, otherwise closed