vuejs / router

🚦 The official router for Vue.js
https://router.vuejs.org/
MIT License
3.77k stars 1.16k forks source link

docs: omitting parent components for nested routes #2127

Closed skirtles-code closed 5 months ago

skirtles-code commented 5 months ago

close #1810

The change to index.ts is intentional. Extending a theme in VitePress is now done using extends rather than .... The main difference is that extends will ensure enhanceApp is called on DefaultTheme. This is needed for the <Badge> to work.

The example is based on a similar example given at https://github.com/vuejs/router/pull/1397.

netlify[bot] commented 5 months ago

Deploy Preview for vue-router ready!

Name Link
Latest commit 076d82e8289144e7454299a21fe4a8e40ee07652
Latest deploy log https://app.netlify.com/sites/vue-router/deploys/65bf5f9fd1adf500087f5862
Deploy Preview https://deploy-preview-2127--vue-router.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.