-
Сделал свою первую небольшую страницу на основе generator-bem-stub блоки описывал в bemjson и прописывал правила css в common-blocks.
Страница задумывалась как адаптивная. Поэтому нужно сделать для пл…
-
Need add english docs (Usage and API) for modules:
* [ ] `bem-decl` (except api need format descriptions)
* [ ] `bem-deps` (except api need format descriptions)
* [ ] `bem-graph`
* [ ] `bem-bund…
blond updated
7 years ago
-
Сделать на BEM full stack (JSON/BEMJSON страницу Фейсбука группы BEM https://www.facebook.com/groups/bem.info
backend: Graph QL
-
Как это прописать в bemjson?
```
```
-
We have a lot of stuff like:
1.
``` js
(item.mods || (item.mods = {})).myMod = 'myVal';
```
2.
``` js
mix()(function() {
var mix = ctx.mix,
newMix = apply('mix');
if(mix) {
newMix = […
narqo updated
9 years ago
-
про bemjson и про bemhtml понятно,
а про js не понятно...
-
Приветствую.
Господа подскажите мне как gulp-bem-bundle-builder прокинуть свой naming.
Просто обидно. Всё настроил, везде naming мой работает, собираю html, bemjson.js. Везде всё типтоп, а вот собрать…
-
В версии `bh 3.x` можно было доопределить шаблон элемента блока с каким-нибудь модификатором следующим образом:
```
bh.match('blockName__elemName', function(ctx) {
ctx.content('Hello!')
…
-
Добрый вечер
Использую project stub
Ранее всю разметку писал в index.bemjson.js, сейчас же решил оставить там основную разметку, а контент и шаблонизацию вынести для каждого блока в bemhtml/bemt…
-
What about independent entities without binding to BEM?
Like this:
``` js
{
block: 'foo',
content: [
{tag: 'strong', content: 'HELLO'},
',',
{tag: 'i', content: 'WORLD'},
]
}
```
…
unlok updated
9 years ago