-
Как я понимаю за компиляцию bemjson в html отвечает эта команда
https://github.com/bem/project-stub/blob/bem-core/.enb/make.js#L62
А в технологии bemjson-to-html такой опции нет и все компилится в одн…
-
Во времена React.js и подобных вещей хочется и в bem.js чего то подобного.
Из дискуссии https://ru.bem.info/forum/385/ ничего внятного не вышло.
Предлагаю вариант своей идеи как это можно сделать.
#…
-
Consider two options.
```
var bh = require('bh!./block.bh.js');
bh.apply({block: 'block'});
```
```
var apply = require('bh!./block.bh.js');
apply({block: 'block'});
```
the second option is nice b…
-
> Регулярно случается при падении тестов на шаблоны.
> Проявляется, как зависание enb
Локально:
```
16:57:08.465 - build failed
Error: EEXIST, symlink '/Users/yeti-or/Projects/Y/islands/islands-meta…
blond updated
9 years ago
-
Столкнулся с этой ошибкой когда решил положить блоки и бандлы в папку src/ на проекте и настроить сборку так.
```
/
.bem/
src/
desktop.blocks
desktop.bundles
```
в `make.js` с…
-
В `BH@4.0.0` добавили метод `processBemJson` возвращает стандартный `BEMJSON`.
Правильно хотеть делать специальные шаблоны `*.bemtree.bh` для блока, если блоку надо уметь делать денормализацию данных…
ilyar updated
7 years ago
-
Что-то я не понял как запустить обработку bemtree, а точнее в каком месте...
Я хочу из bemjson перейти на bemtree - что для этого нужно (как и где вызывать шаблоны bemtree)?
bemtree в bemjson можно …
-
Допустим есть сайт классической структуры - шапка, подвал, сайдбар и основной контент. Ну и собственно шапка, подвал и сайдбар у нас в проекте не меняются, а вот в области основного контента содержимо…
-
Настоящим постом хочу продемонстрировать вам как будет выглядет API bem-xjst v8.x. Все пока на стадии RC, поэтому хочу выслушать ваше мнение по поводу всего этого.
**Изменения, которые войдут в v8.x*…
-
Синтаксис вот такой:
```
%%cut открой врезку
а тут, собственно, текст врезки (с любой wiki-разметкой и своими расширениями, естественно)
%%
```
В форматы, где реализовать cut невозможно, нужно транс…
veged updated
12 years ago