-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I integrate vue-gallery with NuxtJS? #3
Comments
Sorry, I'm not competent in this issue, I did not work with nuxt.js |
@rlam3
import Vue from 'vue'
import VueGallery from 'vue-gallery'
Vue.component('gallery', VueGallery)
And that's it! |
@lomholdt it's strange because it works but cannot find the widget container Any idea on why this may be? Thanks!
|
@rlam3 what version of the library? |
@RobinCK I'm using the latest version. Thanks. |
I want to note that this error was in v1.2.0 version in v1.2.1 fixed |
I think I found my problem. tags need to be implemented between |
Are there plans to also integrate a textfield in the gallery mode? It would be nice to have something to describe the images inside the gallery. Thanks! |
@RobinCK I took a look at blueimp and saw that they have a way to integrate a description for each image. Would it be possible that you can turn this feature on with vue-gallery? If so, how? Thanks! Really appreciate your help here. |
Thanks @lomholdt this worked but when I do it like this I get:
Any Idea what this is or how to solve it? |
Still can't seem to get this to work. Anyone have any ideas? |
Fixed. Turned out it was a problem with Purgecss removing class names. |
@scottyzen Hi Scott, how did you fix the problem with Purgecss and vue-gallery? I want to use vue-gallery with PurgeCSS, but the last removes all styles. UPDATE |
For anyone wondering about the necessary config for purgeCSS: whitelistPatternsChildren: [/^blueimp.+/] |
I have added the plugins above to the nuxt.config.js but getting this error. Does anyone know why?
|
Did you add |
|
|
ahh thank you! that worked |
How do I integrate vue-gallery with NuxtJS as a Plugin? Does it require SSR or no?
The text was updated successfully, but these errors were encountered: