Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

The Vue.js Master Class

Use Route Params thumbnail image

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Use Route Params

🚧 PLEASE NOTE: This masterclass is built with the Options API
vuejs-masterclass

The Composition API Masterclass is coming soon!

It’s important that our ThreadCreate component is aware of the actual forum the thread should be created in. Right now, the component only knows about the location, if we use the button to create a new thread, thus, if we hit refresh - everything will break!

In this vue.js tutorial, we’ll use the route parameters to make the component independent.