We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I recently upgraded ZingTouch and now I receive an error
The working index.js looks like this
index.js
// working index.js require('./dist/zingtouch.min.js'); module.exports = ZingTouch;
The current code with index.js gives me an error.
// not working index.js const ZingTouch = require('./dist/zingtouch.min.js').default; module.exports = ZingTouch;
I haven't changed my source other than the upgrade.
I have a vue.js webpack app.
import ZingTouch from 'zingtouch' export default () { ... mounted: function () { console.log(ZingTouch) this.appZingTouch = new ZingTouch.Region(document.getElementById('app'), false, false) } ... }
This logs undefined and throws the error
undefined
TypeError: Cannot read property 'Region' of undefined
Any help would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I recently upgraded ZingTouch and now I receive an error
The working
index.js
looks like thisThe current code with
index.js
gives me an error.I haven't changed my source other than the upgrade.
I have a vue.js webpack app.
This logs
undefined
and throws the errorTypeError: Cannot read property 'Region' of undefined
Any help would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered: