By adding in prop types like this we can set expectations for what we'll receive. If we set our camera's name prop to true it won't work properly, so Vue will warn us that we're using it wrong. We'll add a rating to our Camera component so we can see what using a number looks like. First we add it to the prop types:
Vue.js does not come with any loading indicator for dynamic modules. Even with prefetching and preloading - no visual indicator lets the users know how the loading is going. We'll also be adding a progress bar to improve user experience. Preparing the Project. First we need a way for our progress bar to communicate with the Vue Router.