Link

The g-link component is available globally in all your templates. It's a wrapper for router-link from Vue Router.

<!-- Link with string path -->
<g-link to="/about">About us</g-link>

<!-- Link to a named route -->
<g-link :to="{ name: 'about' }">About us</g-link>

<!-- Link with variable path -->
<g-link :to="node.path">Read more</g-link>
Property Default
to required

Edit this page on GitHub