Can't use when Vue Options API is disabled
axelkennedal opened this issue · 5 comments
axelkennedal commented
Describe the bug
In a project with Webpack where the Vue Options API is disabled, this library does not work. It builds, but no notifications pop up.
To Reproduce
Steps to reproduce the behavior:
- In a project using Webpack, disable the Vue Options API: (set it to
false
, nottrue
like this screenshot)
- Follow the instructions in the README of this GitHub repo for using the composition API
- Run Webpack
- Try to show a notification
Expected behavior
A notification should show up.
Screenshots
N/a
Desktop (please complete the following information):
- OS: Windows 11
- Browser Chrome
- Version 108
Smartphone (please complete the following information):
N/a
Additional context
N/a
github-actions commented
Stale issue message
axelkennedal commented
axelkennedal commented
Why was this closed without any comment?
kyvg commented
@axelkennedal,
That library was written with Options API, so it can't work with __VUE_OPTIONS_API__: false
flag
kyvg commented
I rewrote this library to Composition API, now it should work with disabled Options API flag