[Vue warn]: Error when rendering root instance:
warn
localhost/:2225 Uncaught ReferenceError: _h is not defined
at Proxy.__vue__options__.render (eval at <anonymous> (app.js:1113), <anonymous>:173:49)
at VueComponent.Vue._render (eval at <anonymous> (app.js:723), <anonymous>:2216:22)
at VueComponent.updateComponent (eval at <anonymous> (app.js:723), <anonymous>:2609:21)
at Watcher.get (eval at <anonymous> (app.js:723), <anonymous>:2934:27)
at new Watcher (eval at <anonymous> (app.js:723), <anonymous>:2926:12)
at VueComponent.Vue._mount (eval at <anonymous> (app.js:723), <anonymous>:2608:19)
at VueComponent.Vue$3.$mount (eval at <anonymous> (app.js:723), <anonymous>:6178:15)
at VueComponent.Vue$3.$mount (eval at <anonymous> (app.js:723), <anonymous>:8549:16)
at creator (eval at <anonymous> (app.js:1119), <anonymous>:9:31)
at VueComponent.created (eval at <anonymous> (app.js:1132), <anonymous>:7:50)
If I revert App.vue:
<template>
<div id="app">
<img src="./assets/logo.png">
<app-nav />
<router-view></router-view>
</div>
</template>
<script>
import Nav from './components/Nav.vue'
export default {
name: 'app',
components: {
appNav: Nav
}
}
</script>
I got a basic site right now from vue cli's
init webpack foo
, with vuex2I'm getting in the browser 'Error when rendering root instance' and 'Uncaught ReferenceError: _h is not defined'.
my App.vue looks like:
and that Nav.vue is just
producing:
If I revert App.vue:
works perfectly well