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

mall-admin-webๆ˜ฏไธ€ไธช็”ตๅ•†ๅŽๅฐ็ฎก็†็ณป็ปŸ็š„ๅ‰็ซฏ้กน็›ฎ๏ผŒๅŸบไบŽVue+Elementๅฎž็Žฐใ€‚ ไธป่ฆๅŒ…ๆ‹ฌๅ•†ๅ“็ฎก็†ใ€่ฎขๅ•็ฎก็†ใ€ไผšๅ‘˜็ฎก็†ใ€ไฟƒ้”€็ฎก็†ใ€่ฟ่ฅ็ฎก็†ใ€ๅ†…ๅฎน็ฎก็†ใ€็ปŸ่ฎกๆŠฅ่กจใ€่ดขๅŠก็ฎก็†ใ€ๆƒ้™็ฎก็†ใ€่ฎพ็ฝฎ็ญ‰ๅŠŸ่ƒฝใ€‚

  • Updated Apr 23, 2022
  • Vue
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

ๅŸบไบŽvue-cli5.x/vite2.x + vue3.x + ant-design-vue3.x + typescript hooks ็š„ๅŸบ็ก€ๅŽๅฐ็ฎก็†็ณป็ปŸๆจกๆฟ RBAC็š„ๆƒ้™็ณป็ปŸ, JSON SchemaๅŠจๆ€่กจๅ•,ๅŠจๆ€่กจๆ ผ,ๆผ‚ไบฎ้”ๅฑ็•Œ้ข

  • Updated Apr 30, 2022
  • TypeScript

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