forked from LaconicNetwork/cosmos-explorer
improve UX & adding links
This commit is contained in:
@@ -9,6 +9,7 @@ import type { NavGroup, NavLink, NavSectionTitle, VerticalNavItems } from '@layo
|
||||
|
||||
import { themeConfig as config } from '@themeConfig'
|
||||
|
||||
console.log("v nav")
|
||||
interface Props {
|
||||
tag?: string | Component
|
||||
navItems: VerticalNavItems
|
||||
|
||||
@@ -8,6 +8,7 @@ export const openGroups = ref<string[]>([])
|
||||
* @param {Object, String} item navigation routeName or route Object provided in navigation data
|
||||
*/
|
||||
export const getComputedNavLinkToProp = computed(() => (link: NavLink) => {
|
||||
console.log(link)
|
||||
const props: NavLinkProps = {
|
||||
target: link.target,
|
||||
rel: link.rel,
|
||||
|
||||
Reference in New Issue
Block a user