vue-translation-tool

Blocklevel
js Styles
vue-translation-tool JS library on GitHub vue-translation-tool JS library on npm Download vue-translation-tool JS library

vue translation tool

Version 1.0.2 License ISC
vue-translation-tool has no homepage
vue-translation-tool JS library on GitHub
vue-translation-tool JS library on npm
Download vue-translation-tool JS library

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