Created
April 15, 2019 14:20
-
-
Save bodrovis/caa457b85dc22cd8ceca4006e1e74913 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vue.component('app', { | |
template: ` | |
<main> | |
<language-changer></language-changer> | |
<p>{{ $t("welcome") }}</p> | |
<p v-t="{path:'welcome'}"></p> | |
<inline-translations></inline-translations> | |
<key-prefix></key-prefix> | |
<i18next path="term" tag="label" for="tos"> | |
<a href="#" target="_blank">{{ $t("tos") }}</a> | |
</i18next> | |
<p>{{ $t("apple", {count: 100}) }}</p> // <--- | |
</main> | |
`, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment