UNPKG
@i18n-pro/vue2
Version:
latest (2.0.0)
2.0.0
2.0.0-alpha.3
2.0.0-alpha.2
2.0.0-alpha.1
2.0.0-alpha.0
1.0.1
1.0.0
0.1.0-alpha.4
0.1.0-alpha.3
0.1.0-alpha.2
0.1.0-alpha.1
An out-of-the-box, lightweight i18n auto-translation solution for Vue 2
github.com/i18n-pro/vue2
@i18n-pro/vue2
/
dist
/
src
/
index.d.ts
7 lines
(6 loc)
•
257 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{ I18nState }
from
'i18n-pro'
;
export
{
Langs
, I18nState,
SetI18
n,
Translate
}
from
'i18n-pro'
;
import
{
VueConstructor
}
from
'vue'
;
export
declare
function
createI18n
(
props
: I18nState & { with$?:
boolean
; }
):
(
V
:
VueConstructor
) =>
void
;