Open tvld opened 8 years ago
Except for the undesired hover "tooltip", this works ok:
<template>
<div class="navbar-wrapper">
<vs-navbar fixed="top" type="dark" variant="primary" full>
<a class="navbar-brand" href="#"> </a>
<vs-nav type="navbar" :vertical="false" class="pull-sm-right">
<vs-nav-item v-for="navitem in navitems" :link="navitem.url">
{{ navitem.label }}
</vs-nav-item>
</vs-nav>
</vs-navbar>
</div>
</template>
<script>
import vuestrapBase from 'vuestrap-base-components'
export default {
components: {
'vs-navbar': vuestrapBase.navbar,
'vs-nav': vuestrapBase.nav,
'vs-nav-item': vuestrapBase.navItem
},
data () {
return {
navitems: [
{ label: 'Home', url: 'http://yahoo.com' },
{ label: 'About us', url: 'http://www.google.com' }
]
}
}
}
</script>
As per the closed issue #19,
Although the click works with the second link, the hover shows all "#"