You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Composition api and SFC support. Please note while v2 technically supports Vue 3 versions, underneath it used options api. V3 is a complete rewrite with composition api and SFC. This is the recommended version for Vue 3 composition api users.
Slim Build (Experimental)
There is a Slim build available without bundling d3. This project uses d3micro bundles. If your project also uses d3microbundles, you can opt for slim build. Necessary d3 dependencies required for slim build to work are - d3-array, d3-color, d3-ease, d3-format, d3-interpolate, d3-scale, d3-selection, d3-shape, d3-transition.
// sample slim build usageimportVueSpeedometerfrom"vue-speedometer/slim"// and use it<VueSpeedometer/>
Other changes
segmentValueFormatter prop which accepts a function to format values
switching to d3 micro modules
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
v3
version ofvue-speedometer
is released. It is a complete rewrite with composition api and SFC (single file component).Ref: https://stackblitz.com/edit/vitejs-vite-zvyaxz?file=package.json
Important Changes
Vue 3 support:
Slim Build (Experimental)
There is a
Slim
build available without bundlingd3
. This project usesd3
micro bundles. If your project also usesd3
microbundles, you can opt for slim build. Necessaryd3
dependencies required for slim build to work are -d3-array
,d3-color
,d3-ease
,d3-format
,d3-interpolate
,d3-scale
,d3-selection
,d3-shape
,d3-transition
.Other changes
segmentValueFormatter
prop which accepts a function to format valuesd3 micro modules
The text was updated successfully, but these errors were encountered: