Skip to content

Commit b26ad71

Browse files
author
Michaela Robosova
committed
Update README
1 parent 0f912c3 commit b26ad71

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ For more information see [documentation/demo](https://vue-tree-navigation.misrob
1111
- a possibility to define a default open level
1212
- auto-open a level when a corresponding URL visited
1313
- focused on core functionality, only necessary styles included
14-
- elements are provided with meaningful classes to make customizations easier (for example `NavigationItem--active`, `NavigationLevel--level-1`, `NavigationLevel--closed`)
14+
- elements are provided with meaningful classes to make customizations comfortable (for example `NavigationItem--active`, `NavigationLevel--level-1`, `NavigationLevel--closed`)
1515
- external URLs support
1616

1717
## Example
@@ -27,12 +27,12 @@ For more information see [documentation/demo](https://vue-tree-navigation.misrob
2727
return {
2828
items: [
2929
{ name: 'Products', children: [ // category label
30-
{ name: 'Shoes', route: 'shoes' } // #/shoes
30+
{ name: 'Shoes', route: 'shoes' } // /shoes
3131
]},
32-
{ name: 'About', route: 'about', children: [ // #/about
33-
{ name: 'Contact', route: 'contact', children: [ // #/about/contact
34-
{ name: 'E-mail', element: 'email' }, // #/about/contact#email
35-
{ name: 'Phone', element: 'phone' } // #/about/contact#phone
32+
{ name: 'About', route: 'about', children: [ // /about
33+
{ name: 'Contact', route: 'contact', children: [ // /about/contact
34+
{ name: 'E-mail', element: 'email' }, // /about/contact#email
35+
{ name: 'Phone', element: 'phone' } // /about/contact#phone
3636
]},
3737
]},
3838
{ name: 'Github', external: 'https://github.com' }, // https://github.com
@@ -76,7 +76,6 @@ Vue.use(VueTreeNavigation);
7676
## Requirements
7777

7878
- [Vue.js](https://vuejs.org/)
79-
- [vue-router](https://router.vuejs.org/en/) (optional, only when you wish to use router links)
8079

8180
## Developers
8281

0 commit comments

Comments
 (0)