We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://ru.bem.info/forum/1018/
What i mean?
if i wanna create block in HTML before initialization js with library bem-pr. I will change block spec-content.
bem-pr
spec-content
specs.configure({ langs: false, destPath: 'specs', levels: layers, templateEngine: { templateTech: require('enb-bh/techs/bh-bundle'), templateOptions: { devMode: false }, htmlTech: require('enb-bh/techs/bemjson-to-html'), htmlTechOptionNames: { bemjsonFile: 'bemjsonFile', templateFile: 'bhFile' } }, sourceLevels: [ { path: 'libs/bem-pr/spec.blocks', check: false } ].concat(layers), jsSuffixes: ['js'], specSuffixes: ['spec.js'] });
sample block b-legend
b-legend
module.exports = function(bh) { bh.match('spec-content', function () { return {block: 'b-legend'}; }); };
But, then enb-bem-spec not will add my block to the output bemdecl's file for build html.
enb-bem-spec
The text was updated successfully, but these errors were encountered:
[enb#57] fixed bug with "Dysfunction with build template if need bloc…
d758d86
…k create in html before initialize JS"
No branches or pull requests
https://ru.bem.info/forum/1018/
What i mean?
if i wanna create block in HTML before initialization js with library
bem-pr
. I will change blockspec-content
.sample block
b-legend
But, then
enb-bem-spec
not will add my block to the output bemdecl's file for build html.The text was updated successfully, but these errors were encountered: