Skip to content

Btn component uses RouterLink component that is missing #803

@sjrd218

Description

@sjrd218

Describe the bug
I am using the Btn component in a Vue3 app that doesn't use VueRouter and I get the following error in the dev console:
[Vue warn]: Failed to resolve component: RouterLink

To Reproduce
Steps to reproduce the behavior:
Create a Vue 3 app that uses uiv and use a Btn component in your template.

Expected behavior
Btn component doesn't have a dependency on VueRouter

Desktop (please complete the following information):

  • OS: Mac
  • Browser chrome with Vue dev tools
  • Version 112

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions