mirror of
https://github.com/retailcrm/vue-i18n-loader.git
synced 2024-11-29 16:56:04 +03:00
21 lines
342 B
Vue
21 lines
342 B
Vue
|
<template>
|
||
|
<div>
|
||
|
<p v-t="'directive_1'"/>
|
||
|
<p v-t="{ path: 'directive_2' }"/>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<i18n locale="en_GB">
|
||
|
{
|
||
|
"directive_1": "Directive 1",
|
||
|
"directive_2": "Directive 2"
|
||
|
}
|
||
|
</i18n>
|
||
|
|
||
|
<i18n locale="ru_RU">
|
||
|
{
|
||
|
"directive_1": "Директива 1",
|
||
|
"directive_2": "Директива 2"
|
||
|
}
|
||
|
</i18n>
|