Skip to content
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

Hooper images not show when bind with vue #93

Closed
Olti-B opened this issue Jun 15, 2019 · 3 comments
Closed

Hooper images not show when bind with vue #93

Olti-B opened this issue Jun 15, 2019 · 3 comments
Assignees

Comments

@Olti-B
Copy link

Olti-B commented Jun 15, 2019

**Hooper images not show when bind with vue **
I am using hooper with vue
like in this example

   <hooper :key="hopper_key" :progress="true" :infiniteScroll="true">
        <slide>
          <img :src="detail_data.poi_simg_src" alt>
        </slide>
        <hooper-progress slot="hooper-addons"></hooper-progress>
      </hooper>

And when i run it shows shows nothing
The hooper html produced is
hooper_html

*** Environment tested ***
Chrome v.75

@ismail9k
Copy link
Contributor

Can you provide us with a working example, so we can debug your issue?

@Olti-B
Copy link
Author

Olti-B commented Jun 18, 2019

@ismail9k ismail9k self-assigned this Jun 18, 2019
@ismail9k
Copy link
Contributor

Thanks, @Olti-B, at first glance I noticed that you forgot to include Hooper's stylesheet. A quick fix for this is to import the CSS file at the first of your file import 'hooper/dist/hooper.css';.
This seemed to be a common issue, form our side we will emphasize it more in the docs, or maybe include the styles with the JavaScript file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants