Closed
Description
Vue.js version
2.0.5
Reproduction Link
https://jsfiddle.net/df4Lnuw6/40/
Steps to reproduce
A newbie accidentally creates an empty template, or the template fails to compile, while using the compiler-included build.
What is Expected?
The Vue warning Failed to mount component: template or render function not defined.
or similar.
What is actually happening?
The Vue warning You are using the runtime-only build of Vue where the template option is not available. Either pre-compile the templates into render functions, or use the compiler-included build.
This warning message is misleading in the compiler-included build. If it was defined differently in the two builds, this would solve the issue.