-
Сейчас, у нас, если блок имеет логику на priv его можно встроить только в priv'ах же
Предлагаемое решение:
регистрировать декларации блоков в неком хранилище в BEMPRIV,
а вызываться они должны автома…
-
Здравствуйте , у меня есть меню и там 10 списков li , как мне сделать так, чтобы я в бэм дереве его статически не описывал, а как то динамически вывести его. Хотя бы подсказку увидеть, в какую сторо…
-
Всем привет!!
Понимания схемы работы динамического сайта - нет.
Есть понимание работы динамических страниц сайта в схеме:
- MySQL(db) -> PHP ->HTML.
В такой схеме робот индексирует страницу как…
-
For the same BEMJSON for `b-page` block we have different results
``` js
{ elem : 'css', url : '10-simple', ie : true }
```
For desktop:
``` html
```
For touch:
``` html
```
Note that we l…
narqo updated
9 years ago
-
В основе каждой страницы сайта лежит блок page.
Как можно дополнить этот блок, чтоб добавить для него дополнительные теги?
Интересует возможность добавить ряд статичных meta-тегов в head, прописать f…
-
Добрый день.
Пытаюсь сделать так:
index.bemjson.js
``` javascript
({
block: "page",
title: 'index',
head: [
{ elem: 'css', url: '_index.css' }
],
scripts: [{ elem: 'js',…
ghost updated
7 years ago
-
В библиотеке bem-components есть блоки menu и menu-item, тогда как в bem.info используется блок nav.
Хотел бы узнать почему в bem.info не используются блоки меню из bem-components?
А также как сгене…
-
Обнаружил следующую проблему: gulp игнорирует bemhtml-ы элементов, если у блока стоит миксом другой блок
Пример тут: [https://github.com/rteamx/project-stub/commit/77c4e6bb74a5fc3893b83abc7f5e6c0f9…
-
Добрый вечер.
Хочу собрать проект и с путями возникает вопрос, у меня есть '../../images/**' , а нужно 'images/**'.
Кажется, что все тривиально и глупее вопроса сложно придумать, бери да вручную их …
-
Я не так давно пытаюсь в сборку с помощью Gulp. Конфиг project-stub показался мне слишком сложным для понимания, вдобавок мне нужно было настроить сборку HTML из файлов pug, поэтому было решено затрай…