arielsalminen / vue-design-system

An open source tool for building UI Design Systems with Vue.js
https://vueds.com
MIT License
2.17k stars 225 forks source link

How to use <router-link> in a pattern? #138

Closed ftom2 closed 5 years ago

ftom2 commented 5 years ago

I would like to create a sidebar component that uses <router-link>

But I get an error:

Unknown custom element: <router-link> - did you register the component correctly?

How can I use <router-link>?

arielsalminen commented 5 years ago

@ftom2 Please see https://github.com/vue-styleguidist/vue-styleguidist/issues/131 (I think there are other closed issues with that same title too if it helps), this issue is related to the way Vue Styleguidist works.