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
I was browsing the vue-router docs, and wanted to jump to the vuex docs. Currently there is no "easy" way to do this, and what I would consider a convenient solution is if the current site title was a dropdown with a list of related sites.
<!-- sitesLinks would be a computed property so that it can automatically add $siteTitle as the root elements text -->
<DropdownLinkv-if="sites" :item="sitesLinks" />
<spanref="siteName"class="site-name"v-else-if="$siteTitle"
:class="{ 'can-hide': $site.themeConfig.logo }"
>{{ $siteTitle }}</span>
Are you willing to work on this yourself?**
If this is something useful for anyone, sure!
The text was updated successfully, but these errors were encountered:
Feature request
What problem does this feature solve?
I was browsing the vue-router docs, and wanted to jump to the vuex docs. Currently there is no "easy" way to do this, and what I would consider a convenient solution is if the current site title was a dropdown with a list of related sites.
What does the proposed API look like?
How should this be implemented in your opinion?
I believe we can easily implement this by reusing the existing
DropdownLink
componentAnd a new branch in the
Navbar
componentvuepress/lib/default-theme/Navbar.vue
Lines 15 to 20 in a7d9a1a
Are you willing to work on this yourself?**
If this is something useful for anyone, sure!
The text was updated successfully, but these errors were encountered: