-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(vue): add vue-docgen to support better vue file parsing
update all dependencies
- Loading branch information
Showing
11 changed files
with
4,456 additions
and
3,765 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
title: vue-md | ||
--- | ||
# Button | ||
|
||
> The only true button. | ||
## Props | ||
|
||
| Prop name | Description | Type | Values | Default | | ||
| --------- | ----------------------------------------------------------------- | ------ | -------------------------- | ---------------------------------------------------------------------- | | ||
| color | The color for the button. | string | - | '#333' | | ||
| size | The size of the button | string | `small`, `normal`, `large` | 'normal' | | ||
| onClick | Gets called when the user clicks on the button<br/>`@ignore` true | func | - | event => {<br> console.log('You have clicked me!', event.target);<br>} | | ||
|
||
## Slots | ||
|
||
| Name | Description | Bindings | | ||
| ------- | ----------------- | -------- | | ||
| default | Content of button | | | ||
|
||
--- | ||
|
||
Use vue live right here too | ||
|
||
````markdown | ||
```jsx live | ||
<Button>I’m transparent!</Button> | ||
``` | ||
```` | ||
|
||
```jsx live | ||
<Button>I’m transparent!</Button> | ||
``` | ||
|
||
To render an example as highlighted source code remove the live modifier | ||
|
||
```html | ||
<button>I’m transparent!</button> | ||
``` | ||
|
||
--- | ||
|
||
# Home | ||
|
||
## Section 1 | ||
|
||
Section 1 | ||
|
||
## Section 2 | ||
|
||
Section 2 |
Oops, something went wrong.