Closed yipcma closed 7 years ago
Not cooking bug.
const Foo = { template: '<div>foo</div>' };
const Bar = { template: '<div>bar</div>' };
You should not use template
. If you still want to use it, you should update configuration
cooking.conf.js
{
alias: {
'vue$': 'vue/dist/vue.esm.js'
}
}
Thanks a lot for your response. I should have read this before asking https://vuejs.org/v2/guide/installation.html#Runtime-Compiler-vs-Runtime-only
PS: love cooking and the eleme suite of tools. it's very pleasant to use for a beginner like myself.
cooking version
1.5.3
I face a problem when trying the get started in vue-router. the router-links show, but the router-view is not rendering anything.
What is Expected?
router-view should render foo or bar respectively.
What is actually happening?
it current shows blank, however, the router-links are showing. also, console shows