UNPKG
simplest-i18n
Version:
latest (1.0.0)
1.0.0
0.1.0
0.0.1
The Simplest Universal i18n Solution
github.com/kenberkeley/simplest-i18n
kenberkeley/simplest-i18n
simplest-i18n
/
examples
/
vue
/
app.js
11 lines
(8 loc)
•
160 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
Vue
from
'vue'
import
App
from
'./components/App'
import
t
from
'../t'
Vue
.
prototype
.
$t
= t
new
Vue
({
el
:
'#app'
,
render
:
h
=>
h
(
App
) })