-
bemjson
```js
{
block: 'foo'
}
```
bemhtml
```js
block('foo')(
prependContent()(() => ({
elem: 'x',
content: 'before'
})),
appendContent()(() => ({
…
-
Предлагаю все данные хранить в `/content`:
- `/content/pages/` – страницы, например `/pages/about.json`
- `/content/projects` – проекты
и тд.
-
what about ignore mods on elems ?
https://runkit.com/581a9fba871f320014cdcdf7/58ae28aaef3db200148290ed
```
var bemjsonToDecl = require("bemjson-to-decl");
var bemJson1 = ({
block: 'pop…
-
Implementation using bemjson, bemhtml, enb and so on.
I don't know is it necessary to write realization with bem-tools also.
-
Где-то попадалась статья (или пост), не могу сейчас найти.
Задача: "подмешать" к основному блоку функционал другого.
В простейшем варианте (то, что заработало) получается во время инициализации перв…
-
Скопировал себе на проект эти табы https://github.com/bem-contrib/hackaton/tree/master/common.blocks/tabs
BEMJSON:
``` javascript
{
block : 'tabs',
mods : { theme : 'islands'…
-
Привет! скиньте пожалуйста пример подключения JQuery плагина FancyBox и инициализации его на странице, буду признателен если опишите процесс по пунктам что, куда, зачем и как.
soltx updated
7 years ago
-
Всем привет. Посмотрел я вебинар 2х годичной давности https://www.youtube.com/watch?v=1GWoMnYldYc про БЭМ. Сильно заинтересовался я этой методологией. Решил сделать тестовый проект на полном бем стек…
-
ghost updated
7 years ago
-
В исходном примере gulp файла создана реализация создания html файла из bemjson + bemhtml. Как не пытался прикрутить bemtree ничего не вышло.
Хотел сделать следующее:
bemdecl -> bemtree -> bemjson…