diff options
author | Cyrille Bollu <cyrpub@bollu.be> | 2019-07-19 13:21:20 +0200 |
---|---|---|
committer | Cyrille Bollu <cyrpub@bollu.be> | 2019-07-19 13:21:20 +0200 |
commit | 3be4a067f608a8c2fde3804024ade0c18146c04f (patch) | |
tree | 2134891c852f9003548121ab63c8dcab43eac510 /src/main.js | |
parent | db7b4b3075ad8a6da3d3f9128795d0ece28bfbb5 (diff) |
Uses vue-masonry-css to display post attachments in a masonry style
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js index cc235656..1cbcd78c 100644 --- a/src/main.js +++ b/src/main.js @@ -30,6 +30,7 @@ import vuetwemoji from 'vue-twemoji' import contenteditableDirective from 'vue-contenteditable-directive' import ClickOutside from 'vue-click-outside' import VTooltip from 'nextcloud-vue/dist/Directives/Tooltip' +import VueMasonry from 'vue-masonry-css' sync(store, router) @@ -56,6 +57,7 @@ Vue.use(vuetwemoji, { className: 'emoji', // custom className for image output size: 'twemoji' // image size }) +Vue.use(VueMasonry); /* eslint-disable-next-line no-new */ new Vue({ |