Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2 from limonte/patch-1
Browse files Browse the repository at this point in the history
Improve markdown to highlight code
  • Loading branch information
samturrell authored Jul 10, 2016
2 parents 83d405c + 6da20b8 commit 1b16521
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Vue breadcrumbs builds on the official vue-router package to provide simple brea

# Usage

```
```html
<script src="../dist/vue-breadcrumbs.min.js"></script>
```

```
```js
Vue.use(VueBreadcrumbs)
```

Expand All @@ -18,15 +18,15 @@ or with browserify/bundler:
$ npm install vue-breadcrumbs
```

```
```js
var VueBreadcrumbs = require('vue-breadcrumbs')

Vue.use(VueBreadcrumbs)
```

Define the matching breadcrumb text in your vue-router routes as the `breadcrumb:` property of a route or subRoute, e.g.:

```
```js
router.map({
'/': {
component: Page,
Expand Down

0 comments on commit 1b16521

Please sign in to comment.