vue-translation-tool

1.0.2 • Public • Published

Vue translation tool

simple but powerfull translation tool for vue

How to install it

npm install vue-translation-tool

How to use it

You only need to install the plugin, pass your VuexStore instance in the options object and you're good to go!

import Vue from 'vue'
import store from './store' // import your VuexStore instance
import VueTranslationTool from 'vue-translation-tool'
 
Vue.use(VueTranslationTool, { store }))

in your template

<vue-translation-tool url="all.json"></vue-translation-tool>

you can pass an 'url' to a previous exported language file, this will be loaded when the component is mounted

Readme

Keywords

none

Package Sidebar

Install

npm i vue-translation-tool

Weekly Downloads

0

Version

1.0.2

License

ISC

Last publish

Collaborators

  • blocklevel