README
# export-intl
自动导出国际化配置文件
Install
npm install -g export-intl
Usage:切换到目标文件夹目录,执行--
export-intl
导出所有的key和value
export-intl xxx
导出key的前缀是xxx(变量)的所有的key和value
文件里面写法注意
html标签里面用FormattedMessage的写法
变量用this.Lang.xxx 或者Lang.xxx
自动导出国际化配置文件
<script type="module">
import exportIntl from 'https://cdn.skypack.dev/export-intl';
</script>
# export-intl
自动导出国际化配置文件
npm install -g export-intl
export-intl
导出所有的key和value
export-intl xxx
导出key的前缀是xxx(变量)的所有的key和value
html标签里面用FormattedMessage的写法
变量用this.Lang.xxx 或者Lang.xxx