-
Пример из "Верстка для самых маленьких. Верстаем страницу по БЭМу"
> block('menu').elem('item').elemMod('active', true)
Почему не срабатывает elemMod?
[ссылка на песочницу](https://bem.github.io/be…
-
Related to https://github.com/enb/enb-bemxjst/issues/139
-
```js
block('page')(
tag()('body'),
block('content').tag()('article'),
block('footer').tag()('footer')
)
```
P.S. Test needed.
-
ps: только дизайн, имплементация отдельно
самый первый набросок:
```javascript
import React from "react";
import "./styles.css";
function Dialog(props) {
return (
…
-
``` js
block('kg-appbar')(
js()(true),
tag()('header'),
elem('title').tag()('h1'),
elem('panel')(
tag()('nav'),
def()(function(){
return applyCtx({
…
Guria updated
7 years ago
-
Гуглил, в целом решения не нашел, кроме как использовать bemtree. Возможно ли проинклюдить в bemjson другой bemjson с учетом того чтобы при сборке так же собирались зависимости инклюд файлов?
Имее…
-
Я сломал весь мозг пытаясь понять можно ли сгенерировать контент для блока `menu` за один проход.
Проблема заключается в том, что блок `menu` [не приемлет](https://github.com/bem/bem-components/blob/v…
Guria updated
7 years ago
-
Как сделать, чтобы в ошибки из бандла валились в консоль с указанием информации о блоке?
Кроме как вручную писать `try { } catch (e) { console.log(this.block, e) }`
-
E.g. with https://github.com/beatgammit/gzip-js and https://github.com/dankogai/js-base64
-
Коротко и только о самом главном.
## Библиотеки
### bem-core
Выпустили версии bem-core [4.1.0](https://ru.bem.info/platform/libs/bem-core/4.1.0/)-[4.2.1](https://github.com/bem/bem-core/tree/v4…