Releases: dyaskur/vue-spin-the-wheel
Releases · dyaskur/vue-spin-the-wheel
v2.1.0
Remove lodash and improve TypeScript compability
By removing the lodash dependency, the package size is reduced by approximately 20KB, resulting in a Vue library that does not rely on any external libraries, except for those used in the development environment.
Full Changelog: v2.0.0...v2.1.0
v2.0.0
Breaking Changes:
In previous versions, you could import the component using:
import SpinTheWheel from 'vue-spin-the-wheel'
With the release of v2.0.0, you must now use curly braces to import the component:
import {SpinTheWheel} from 'vue-spin-the-wheel'
Additionally, you can now import TypeScript types as follows:
import { SpinTheWheel, type PrizeConfig } from 'vue-spin-the-wheel'