rostovboy / vueModx

This plugin allows you to use lexicons in modx and solves the problem with scrolling in the component.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vueModx

This plugin allows you to use lexicons in modx and solves the problem with scrolling in the component.

Install:

npm i --save-dev git+https://github.com/srsad/vueModx.git

import vueModx from 'vuemodx'

Vue.use(vueModx, {
    lexicon: MODx.lang,
    appId: 'comonent-panel-home-div' // div id of your component
})

Using

this.$lexicon('lexicon_key')

or

<p>{{$lexicon('lexicon_key')}}</p>

About

This plugin allows you to use lexicons in modx and solves the problem with scrolling in the component.


Languages

Language:JavaScript 100.0%