vue-gettext-extract
Generates gettext pot files for standard Vue projects
Designed to be used with vue-gettext and nuxt-gettext
Install
npm install -D vue-gettext-extract
Usage
Usage in terminal
cd /my/project/dir/vue-gettext-extract --helpOptions: --version Show version number [boolean] --js, -j Glob pattern
Usage in code
const extract = { const extractor = await extractor}
Most of the code is thanks to gettext-extractor and this gist