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

Master Vue.js with Vue School Premium

$25 / month

The Vue.js Master Class

Get access to this course, 18 others, and future Vue.js courses!

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.