Skip to content

Commit

Permalink
docs: preview the vue component as a document
Browse files Browse the repository at this point in the history
  • Loading branch information
HcySunYang committed Nov 8, 2018
1 parent 489bb55 commit e26438b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,20 @@ Then we get:
|---|---|---|
|clear|Used to manually clear the form|The argument is a boolean value representing xxx|

### Preview the vue component as a document

`vuese` also allows you to preview a vue component directly as a document, use the `preview` command:

```sh
vuese preview path-to-your-component.vue
```

`vuese` uses [carlo](https://github.com/GoogleChromeLabs/carlo), the preview will be updated in real time when you modify the component.

As an example:

![preview](https://github.com/HcySunYang/vuese/blob/master/imgs/preview.gif)

## Contributing

1. Fork it!
Expand Down
Binary file added imgs/preview.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e26438b

Please sign in to comment.