Closed vmarcel closed 4 years ago
Hmmm, there is no reason, that $emit from vuejs is not working, if vue is working... On my simulator $emit is working without a problem
have if you tried npm run serve and then open it in a normal webbrowser, without cordova?
@m0dch3n I did $emit()
works fine in both safari and chrome. I also added a Cordova plugin to use WKWebView instead of the default UIWebview. Not sure if that affects anything
🤦♂I figured it out, I was missing an emit in a fundamental component. That was a complete oversight. Sorry for that.
Ok, that would have been next question, if it's first level or multilevel... anyway problem solved
Strange that it worked within safari on your simulator... But maybe this was due to some hot reload caching issue, where Vue is not updating the components correctly, when they are modified
Yea I was refactoring the components and I must have removed it mistakenly, the caching seems to be the most likely result of why the browsers were working when I was moving stuff around
Hey guys I wanted to know if there is some configuration implemented to have
$emit()
to work for mobile devices? It's not firing off at all, but when on a web browser it$emit
works