Fully dynamic vue-router
问题 We are building an enormous website based on Vue and Nuxt with over 25 different page types that cannot be matched with standard /:id or /overview/:slug logic that comes out of the box with Vue Router. As slug-matching isn't an option, we are thinking about the following solution: User visits page "/this-is-a-topic-page" Server calls API that returns the pageType topicPage topicPage relates to the nuxt page WpTopicPage We set WpTopicPage as our component within our wildcard instance of Vue