Error in template-compilation example code
defcc opened this issue · 0 comments
defcc commented
If there are two or more whitespace characters, the templateText value will be replaced incorrectly.
Maybe we need to remove the RegExp. Please let me know if I missed anything.
The error output is as bellow.
[Vue warn]: Error compiling template:
<div><header><h1>I'm a template!</h1></header><pv-if="message">{{ message }}</p><p v-else>No message.</p></div>
- v-else used on element <p> without corresponding v-if