diff --git a/README.md b/README.md index 3512b56..1767cbb 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,11 @@ Vue breadcrumbs builds on the official vue-router package to provide simple brea # Usage -``` +```html ``` -``` +```js Vue.use(VueBreadcrumbs) ``` @@ -18,7 +18,7 @@ or with browserify/bundler: $ npm install vue-breadcrumbs ``` -``` +```js var VueBreadcrumbs = require('vue-breadcrumbs') Vue.use(VueBreadcrumbs) @@ -26,7 +26,7 @@ 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,