src/core/resolvers/prime-vue.ts doesn't have ToggleSwitch in there. It only references InputSwitch which is the old name. There are probably other changes required to support v4
Reproduction
add import { PrimeVueResolver } from 'unplugin-vue-components/resolvers' to vite.config and register it as a plugin. All the components that were in v3 are picked up fine, but ToggleSwitch was not picked up because it was renamed from InputSwitch.
Describe the bug
src/core/resolvers/prime-vue.ts doesn't have ToggleSwitch in there. It only references InputSwitch which is the old name. There are probably other changes required to support v4
Reproduction
add
import { PrimeVueResolver } from 'unplugin-vue-components/resolvers'
to vite.config and register it as a plugin. All the components that were in v3 are picked up fine, but ToggleSwitch was not picked up because it was renamed from InputSwitch.System Info
Used Package Manager
npm
Validations