Closed lishine closed 5 years ago
Found out! page should be '/index'
This
router.add({
name: 'characterAndFilm',
pattern: '/character-and-film/:characterId/:filmId',
page: 'character-and-film'
})
into this, right ?
router.add({
name: 'characterAndFilm',
pattern: '/character-and-film/:characterId/:filmId',
page: '/character-and-film'
})
right! I gess we could add support for both index
and /index
. You are welcome to open a PR to fix the readme if you want :)
Thanks
I just fixed the readme.
I want: the route to be named 'home' but file to be named 'index' I write
But the loading is stuck
If I change to:
It works.
Am I doing something wrong? Last version of the lib, last stable next, react@next