Open voronianski opened 7 years ago
@paulpflug it looks like a problem is somewhere in
__vue__options__.render = function(){with(this){return _h('ul',{class:computedClass},[_t("default")])}}
and relates to https://github.com/vue-play/vue-play/issues/40#issuecomment-267744513
@paulpflug tried locally with npm run dev
, it's the same:
index_bundle.js:1248 [Vue warn]: Error when rendering anonymous component:
warn @ index_bundle.js:1248
index_bundle.js:2952 Uncaught ReferenceError: _h is not defined
at Proxy.__vue__options__.render (index_bundle.js:16376)
at VueComponent.Vue._render (index_bundle.js:2943)
at VueComponent.updateComponent (index_bundle.js:3336)
at Watcher.get (index_bundle.js:3659)
at new Watcher (index_bundle.js:3651)
at VueComponent.Vue._mount (index_bundle.js:3335)
at VueComponent.Vue$3.$mount (index_bundle.js:6899)
at VueComponent.Vue$3.$mount (index_bundle.js:9270)
at init (index_bundle.js:2467)
at index_bundle.js:2621
@paulpflug rebuild will help
I'm having the same issue
Yes, seems to work by generating a new build/bundle.js using: npm i && npm run build:vue && npm run build:webpack inside the project.
Same issue here ReferenceError: _h is not defined
with "vue": "^2.1.0", & webpack
If push comes to shove, this simple pattern is reliable: https://jsfiddle.net/crabbly/9a6bua6x/