Skip to content

Upgrade to V2

✨ New features

  • Ensure compatibility with Nuxt v4 - source.
  • Add generateTailwindColorThemes utility to generate color themes - source.

⚠️ Breaking changes

  • Rename the utility generateColorThemes to generateAntdColorThemes - source.
  • Remove themeConfig prop of NaiveConfig component - source.
  • Remove path property of MenuLinkRoute and TabbarRoute, use to instead - source.
  • Rename the CSS classes mobileOrTablet and notMobileOrTablet to naive-mobile-or-tablet and naive-not-mobile-or-tablet - source.
  • Disallow theme configuration via app.config file - source.