vue-polyglot-utils

0.1.1 • Public • Published

Build Status

utils for Vue-Polyglot

Vue-Polyglot-Utils v0.1.0

Installation

npm install --save-dev vue-polyglot-utils

extractLocales(string)

return the locales parsed in string

import {extractLocales} from 'vue-polyglot-utils';

const string = "{{$t('test')}}";
parser.extractLocales(string) // {"test": "test"}

License

License MIT (see LICENSE file)

Package Sidebar

Install

npm i vue-polyglot-utils

Weekly Downloads

14

Version

0.1.1

License

MIT

Last publish

Collaborators

  • guillaumevincent