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
Since you want to use vanilla js with the bundled umd library js file, the import {...} from 'cleave-zen' module way won't work, you'd follow this vanilla js demo: https://github.com/nosir/cleave-zen-examples/blob/main/examples/vanilla/src/index.js, which uses window.cleaveZen to refer to the library.
Also what's the cleave-zen version in your package.json? I just pushed a fix to cleave-zen-demo repo, you should pull and yarn again, then in your node_modules, it has the latest version 0.0.14
Or more simpler way, you can replace that <script src="./node_modules/...cleave-zen.umd.js"> with <script src="https://unpkg.com/cleave-zen">, or just download that cloud file to your local src folder.
Hi. I want to use your library, I am working without a framework. I have vanilla js, but following all the instructions I have nothing connects.
What am I doing wrong?
The text was updated successfully, but these errors were encountered: