Skip to content

Conversation

@skirtles-code
Copy link
Contributor

@skirtles-code skirtles-code commented Feb 4, 2024

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 #1397.

@netlify
Copy link

netlify bot commented Feb 4, 2024

Deploy Preview for vue-router ready!

Name Link
🔨 Latest commit 076d82e
🔍 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.

Copy link
Member

@posva posva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants