Closed SkipTyler closed 5 years ago
Hey. I took this configuration for learning ssr
I didn’t do a lot for myself, and after stopped working
Works if the link leads to the root component.
The same problem with browser buttons "forward" and "back"
Url is changing, but the content on the page is not.
Where did I make a mistake?
There is a repo.
UPD If I remove asyncData() from the src/views/posts.vue component, then the routing works.
asyncData()
src/views/posts.vue
The link to the repo is invalid
Hey. I took this configuration for learning ssr
I didn’t do a lot for myself, and after stopped working
Works if the link leads to the root component.
The same problem with browser buttons "forward" and "back"
Url is changing, but the content on the page is not.
Where did I make a mistake?
There is a repo.
UPD If I remove
asyncData()
from thesrc/views/posts.vue
component, then the routing works.