-
Notifications
You must be signed in to change notification settings - Fork 0
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
III-5851 - Implementation new design #815
Conversation
const { asPath } = useRouter(); | ||
|
||
const baseUrl = publicRuntimeConfig.baseUrl; | ||
const currentPath = new URL(asPath, baseUrl).pathname; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't useRouter
also expose a normal path?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember exactly why but I wasn't able to do what I wanted with the variables exposed by useRouter.
Changed
Screenshots:
Angular part: cultuurnet/udb3-angular-app#205
Ticket: https://jira.uitdatabank.be/browse/III-5851