Created
April 15, 2019 13:57
-
-
Save bodrovis/ed35e577dd2e95380924fd49105aee18 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> | |
<i18next path="term" tag="label" for="tos"> // <--- | |
<a href="#" target="_blank">{{ $t("tos") }}</a> // <--- | |
</i18next> // <--- | |
</main> | |
`, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment