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

The Vue.js Master Class

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

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.