Skip to content
#

vue-router

Here are 4,777 public repositories matching this topic...

nuxt.js
emiliobondioli
emiliobondioli commented Jul 26, 2019

What problem does this feature solve?

Example use case:
A static generated app with thousands of routes, like an e-commerce having a route for each product.
Apart from scheduling nuxt generate to run periodically and generate all static and dynamic routes, it would be nice to have the possibility to generate the static files for a single route, for example in a hook when the related ba

posva
posva commented Apr 20, 2022

From vuejs/router#1339

A route with a name and a child with an empty path without a name should warn when adding the route (inside of the matcher)

const routes = [
  // this route should warn
  {
    name: 'UserRoute',
    path: '/user/:id',
    component: User,
    children: [
      { path: '', component: UserHome },
    ],
  },

// this shouldn't
enhancement good first issue

Improve this page

Add a description, image, and links to the vue-router topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the vue-router topic, visit your repo's landing page and select "manage topics."

Learn more