egoist / docute

📚 Effortless documentation, done right.
https://docute.egoist.dev
MIT License
3.81k stars 427 forks source link

#212 apply decoded uri for getting $route's path and hash #213

Closed mcdoyaji closed 5 years ago

mcdoyaji commented 5 years ago

For solving encoded uri not recognize by vue, I added decoded uri computed property inside home.vue

The reason I didn't use decodeURIComponent() function is vue router component guard function's to object has no encoded special character it's fullpath url.

Maybe there's a way passing component props through router beforeEach(), but I didn't because It's not simple.

Thanks and Regards

egoist commented 5 years ago

I guess we only need to decode $route.hash

mcdoyaji commented 5 years ago

@egoist O.K All other's removed.

egoist commented 5 years ago

:tada: This PR is included in version 4.13.6 :tada:

The release is available on:

Your semantic-release bot :package::rocket: