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
I see support for v-translate in the code, but following .vue code:
<templatelang="pug">
div
p(v-translate) test
</template>
Leads to a runtime error:
vue.common.js:461 [Vue warn]: Property or method "v" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.
How the v-translate property should be used correctly?
For the 1st question: It's a problem with pugjs translating it into <p v-translate='v-translate'>test</p> and vue is receiving an expression. I have yet to have time to look into this, but the immediate solution is to change the pug template to:
p(v-translate='') test
For the 2nd question: This plugin is using the same extractor as vue-gettext so I think it's not possible at the moment :-)
I see support for
v-translate
in the code, but following.vue
code:Leads to a runtime error:
How the
v-translate
property should be used correctly?Another question related to Polyconseil/vue-gettext#9.
Would it be possible to extract strings from following construct?
The text was updated successfully, but these errors were encountered: