Skip to content

Commit

Permalink
docs(docs): fix typos and glitches in readme and images
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenaelp committed May 21, 2018
1 parent 8b277b9 commit 19c9589
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,13 @@ vue-diagrams can be used as a module in both CommonJS and ES modular environment

When in non-modular environment, vue-diagrams will register all the components to vue by itself.</p>

### ES6
```js
//
// You can register a component manually
//
import { Diagram } from 'vue-diagrams';

export default {
...
components: {
Diagram
},
...
};
```

### After that, you can use it in your Vue components:

```html
<template>
<diagram :model="model"></diagram>
</template>
<script>
<script>
import { Diagram } from 'vue-diagrams';
export default {
Expand Down
Binary file modified images/example1.png
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 19c9589

Please sign in to comment.