-
-
Ref: #58
https://github.com/enb/enb-bem-tmpl-specs/blob/38120aa916cfb5e00b2fe581670b69b351707749/lib/plugin.js#L52-L57
-
The template engine doesn't compile the next template without dev mode:
``` js
attrs()({
tabindex: -1
}),
```
```
Error: Only literal or function is allowed in template's body at 674:9
attrs…
-
With assertions for popular mistakes:
- `.tag().def().content()`
- `.def()(function() { /* forgot to return */ applyCtx({ ... }) })`
- `block('b1')(tag()('a'))` should be `block('b1').tag()('a')`
Oth…
-
-
Tell me please, how can I transfer the settings in bem-xjst?
My gulpfile:
```
const gulp = require('gulp');
const concat = require('gulp-concat');
const bemxjst = require('gulp-bem-xjst');
const…
-
Guess it could be very useful for migration to bem-xjst-next.
Related https://github.com/bem/bem-xjst/issues/121
-
Версия bemjxst наверное пятая
```
{
elem : 'slide-title',
mix: {
block : 'title',
elemMods : { level : 1 } // Работает
},
content : item.title,
},
{
elem : 'slide-…
-
При сборке бандла выдает такую ошибку
Error: Only literal or function is allowed in template's body at 856:30
block('block1').content()({
at Compiler.assert (путь проекта\libs\bem-core\node_modules\…
-
Пример [Добавление БЭМ-сущностей для задач вёрстки](https://ru.bem.info/technology/bemhtml/v2/reference/#Добавление-БЭМ-сущностей-для-задач-вёрстки) из руководства по BEMHTML выдает ошибку:
```
Error…