Easily add Schema.org to your BEM-project.
Just install it as npm package:
npm install bh
node_modules/semantic-blocks/schema to your BEM/ENB make file, and add
i-bem__schema to deps:
mustDeps:block: 'i-bem'elem: 'schema';
Add any available schema to any block or element:
Add any itemprop available for your scheme to any block or element:
Now there is only one block which has schema.org properties: article. So, if you call your block
article, it will get an
Other blocks are comming soon. Send me pull-request with blocks you need, or open an issue.