Describe the bug
Property "$can" was accessed during render but is not defined on instance.
To Reproduce
In a storybook preview.ts I used
setup((app) => {
...
app.use(abilitiesPlugin, ability, {
useGlobalProperties: true
})
...
})
Expected behavior
global registration of casl/vue should work in storybook