Alexander
Alexander
Same for me, simple import breaks everything. Can't use this library. ``` npm install zepto node > require('zepto') ``` ``` TypeError: Cannot read property 'createElement' of undefined ```
Thanks for the elegant solution! Sorry for the late merge! Will release the new ver asap.
fix is availavle here - `[email protected]`
done in `1.8.6` :heavy_check_mark:
Hey @e-tsakhlo, thanks for a good example! We are using page reload for our projects and it works ok for us. Looks like we should add some documentation about how...
done in `1.8.6` :heavy_check_mark:
done in `1.8.6` :heavy_check_mark:
Hello @ADantes! Unfortunately, I have not tried `ttag` with Vue. Currently `this.gettext` will be not recognized by `babel-plugin-ttag`. Going to investigate this issue, and will report any progress on Vue...
It would be really helpful if you could set up some example repository with just basic Vue and ttag.
As far as I can see, we should implement this as a plugin for Vue - https://vuejs.org/v2/guide/plugins.html#Writing-a-Plugin to have `gettext` available in a templates. gettext func is good for simple...