You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present we can have links for cookies where more information can be provided. Whether you configure this with a page route e.g. /MyCookiePolicy or an external route e.g. http://mysite/cookiepolicy the link is always rendered using an tag, which means Nuxt will perform a full page load.
If would be nice if we could use Nuxt/Vue routing to close the CookieDialog and perform a Page navigation.
The fix could be something like this in the modal dialog:
<NuxtLink
v-if="!entry[0].startsWith('http')"
:to="entry[0]" @click="isModalActive = false"
>{{ entry[1] || entry[0] }}
{{ entry[1] || entry[0] }}
i.e. if its not an external link use Nuxt/Vue routing otherwise use the tag and treat the link as external.
Additional information
Would you be willing to help implement this feature?
Describe the feature
At present we can have links for cookies where more information can be provided. Whether you configure this with a page route e.g. /MyCookiePolicy or an external route e.g. http://mysite/cookiepolicy the link is always rendered using an tag, which means Nuxt will perform a full page load.
If would be nice if we could use Nuxt/Vue routing to close the CookieDialog and perform a Page navigation.
The fix could be something like this in the modal dialog:
<NuxtLink
v-if="!entry[0].startsWith('http')"
:to="entry[0]"
@click="isModalActive = false"
>{{ entry[1] || entry[0] }}
{{ entry[1] || entry[0] }}
i.e. if its not an external link use Nuxt/Vue routing otherwise use the tag and treat the link as external.
Additional information
Final checks
The text was updated successfully, but these errors were encountered: