1.0.1 • Published 12 days ago
@i18n.t/extract-vue v1.0.1
@i18n.t/extract-vue
解析 vue 文件,将使用 i18n
包裹的翻译词条输出
Install
npm install @i18n.t/extract-vue --save
Usage
const { extract } = require('@i18n.t/extract-vue');
const { list } = extract({ fileName, fileContent, i18nHandlerName });
// extract word list