Answer the question
In order to leave comments, you need to log in
Why doesn't the src attribute of the image block work in the project-stub assembly (BEM)?
Hello!
I started to study the BEM full stack, I do everything according to the instructions .
Added a snippet to index.bemjson.js:
block: 'header',
content: [
{
block: 'image',
attrs: {
src: '//varya.me/online-shop-dummy/desktop.blocks/b-logo/b-logo.png'
}
},
{
elem: 'slogan',
content: 'A new way of thinking'
}
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question