Skip to content

v3.4.6 — Vue components all build on Nuxt

Latest

Choose a tag to compare

@ANIBIT14 ANIBIT14 released this 14 Jul 02:24

Installing and building the entire Vue library in a real Nuxt 4 project surfaced latent SFC compile errors — components BoldKit's own app never compiled (unused ones are tree-shaken, and vue-tsc doesn't enforce these compiler-only rules).

🐛 Fixes

  • <script setup> cannot contain ES module exports — 8 components declared an injection-key export const … = Symbol() inside <script setup>, breaking the consumer's build: Carousel, Dropzone, ChartContainer, ToggleGroup, Timeline, SidebarProvider, Stepper, StepperItem. Each key (and cross-imported context type) moved to a paired <script> block.
  • GaugeChartwithDefaults referenced a setup-local DEFAULT_ZONES (defineProps() cannot reference locally declared variables). Moved to module scope.

Verified end-to-end: all 364 components compile in one Nuxt 4 build; vue-tsc clean; registry:audit clean.

Bumps

  • React: 3.4.5 → 3.4.6
  • Vue: 3.2.5 → 3.2.6