Skip to content
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

Find out how to use url values from a directly used subpage #36

Closed
bernhardreiter opened this issue Mar 9, 2017 · 3 comments
Closed

Comments

@bernhardreiter
Copy link
Member

This is split out from #2:

How could be use a parameter to a subpage in the corresponding vue file.
For example when calling directly in the webbrowser

/tickets?ticket=14

How does this end up in Tickets.vue to show ticket number '14'?
Actually this should also work, when using a sublink from a different page.
Like on tickets, you would want to jump to /contacts?searchasn=49234 or so.

@bernhardreiter
Copy link
Member Author

To clarify: this is about the external and internal use case.

@rrenkert
Copy link
Member

Corresponds with #27.
In the router (https://router.vuejs.org/en/api/route-object.html) all URL parameters are available and can be used to set the state of a component. Reactivity of the application should do the rest.

@dmth
Copy link
Contributor

dmth commented Mar 31, 2017

See 8ef327c

With Intevation/intelmq-fody-backend@4ea257d in fody-api Linking / bookmarking does also work.

-> Resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants