-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Further instructions on how to use 'meta' needed #58
Comments
You need to use it in the component that wrap with |
Yes, @OysterD3 is right. Most meta info is route specific, that is why it should be involved only from a child component of any |
If you need none-route specific data like path, hash or query use |
Hi
according to the readme you can access meta data using the following code
I however cannot seem to get this code to work... I have added it to my App.svelte and I get an error
I have added the code into the repl example and get Cannot read property 'meta' of undefined
can you please add more guidance on how to init this property so we do not get this error. I have tried putting it in onMount() of App.svelte too and get the same error.
Thank you
The text was updated successfully, but these errors were encountered: