I am using Nuxt.js, and have a dymanic page which is defined under
pages/post/_slug.vue
So, when I visit the page url, say, http://localhost:3
Simply you can access routing parameters
for global uses but it is not good practice:
window.$nuxt._route.params
for local uses under pages/components/layout etc, Always we should practice like below
this.$route
or
this.$nuxt._route.params