You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did the vue init command itself result in an error?
No.
Actual result:
I try to write mustache syntax {{ ... }} at my .vue component file. the hbs render engine will transform it as hbs element. and even if the var is not defined, vue-cli will not throw error:
{{ a.b }} <!-- Will be transformed to empty, and doesn't throw error -->
Expected result:
vue-cli should rewrite the transform function to add extra syntax to distinguish hbs-mustache token and vue-mustache token. And when customized template try to use non-existed variable, vue-cli should throw error.
The text was updated successfully, but these errors were encountered:
We are currently not planning to mess with the handlebars defaults, at least not in the 2.* version of vue-cli. There's alreadya request for this though: #546
Did the
vue init
command itself result in an error?Actual result:
{{ ... }}
at my.vue
component file. thehbs
render engine will transform it as hbs element. and even if the var is not defined, vue-cli will not throw error:{{ a.b }} <!-- Will be transformed to empty, and doesn't throw error -->
Expected result:
vue-cli
should rewrite the transform function to add extra syntax to distinguishhbs-mustache
token andvue-mustache
token. And when customized template try to use non-existed variable,vue-cli
should throw error.The text was updated successfully, but these errors were encountered: