ElemeFE / ElemeFE/element

[Feature Request] Add router-link support to el-button component

Open
#20,971 1 comment 2 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Existing Component
Yes

### Component Name
el-button

### Description
I'd like to be able to specify a route using vue's router-link, like the following:

```html
Home
Page2
```

This currently isn't supported, so I have to wrap all `el-button` components in a `router-link` component. It's pretty tedious, coming from using vue-material, which supports router-link buttons.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.