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

v-bind:src bug in bemto #95

Open
qluqua opened this issue Jul 1, 2018 · 1 comment
Open

v-bind:src bug in bemto #95

qluqua opened this issue Jul 1, 2018 · 1 comment

Comments

@qluqua
Copy link

qluqua commented Jul 1, 2018

+e.IMG.image(v-bind:src="slide.original") doesn't work. After i removed the +e. it works. Seems like if i'm using bemto with img tag and v-bind:src the string from v-bind:src becomes weird base64 string. I'm usng clean installation of Vue with the latest vue-cli tools (major version 3)

Please check screenshots below.

P. S. I love bemto, thank you

2018-07-01 21-10-52
2018-07-01 21-10-18

@TeodorDre
Copy link

TeodorDre commented Jul 24, 2018

@qluqua

Yes it is. You can fix it with small glitch.

+e.IMG.image(src="23%" v-bind:src="slide.original")

or (as u said before), you can use this way

instead of +e.IMG.className => img.bem-block__className

Not good, but it solving a problem.

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