The thinner the footprint the better.
Without all the heavy lifters like enb
, only bem-tools
maybe.
This is what I try:
npm install -g bem
mkdir bem-playground
cd bem-playground
bem create level my-blocks
bem create -b foo-block -l my-blocks -t <WHAT TYPE TO START WITH?>
html
type is deprecated, list of types, I guess, is here: https://github.com/bem/bem-tools/tree/master/lib/techs/v2
Default types are empty so no block is created without -t
.
Ok, I can create block manually. But what's next?
To assemble blocks into a page, I guess, I need some bemdecl
and some assembler (enb
again).
So I can't escape complexity footprint of enb
onto my stack, right?
@ilyaigpetrov Actually
bem-tools
since0.10.0
usesENB
forbem make
command under the hood.The easiest way to start is to clone https://github.com/bem/project-stub.git where everything is already set up.
To answer your initial question: we're working on tiny modules to use as
grunt
,gulp
orwebpack
plugins but we can't promise release date yet (not quite soon though). So right now you are to useENB
orbem-tools
withENB
inside to have all the power of BEM platform.But feel free to ask any questions or feature requests — we'll be happy to help.