diff options
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js index 1186c72a..ab525375 100644 --- a/src/main.js +++ b/src/main.js @@ -27,6 +27,7 @@ import { sync } from 'vuex-router-sync' import App from './App' import store from './store' import router from './router' +import vuetwemoji from 'vue-twemoji' sync(store, router) @@ -44,6 +45,13 @@ Vue.prototype.n = n Vue.prototype.OC = OC Vue.prototype.OCA = OCA +Vue.use(vuetwemoji, { + baseUrl: OC.linkTo('social', 'img/'), //can set to local folder of emojis. default: https://twemoji.maxcdn.com/ + extension: '.svg', //.svg, .png + className: 'emoji', //custom className for image output + size: 'svg' //image size +}) + /* eslint-disable-next-line no-new */ new Vue({ router: router, |