K
K
klonor2015-09-22 08:34:34
HTML
klonor, 2015-09-22 08:34:34

How to use emmet+bam?

286b8b38daca4ae0b2ed51082374d5f7.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Chashchinov, 2015-09-22
@klonor

It is not clear which editor uses the TS, but in the sublime this is configured in preference → package settings → emmet → settings-user

"preferences": {
        "bem.elementSeparator": "__",
        "bem.modifierSeparator": "_",
        "bem.shortElementPrefix": "-",
},

And snippets should also have bem in filters, like this
"snippets": {
        "html" : {
            "filters" : "html, bem",
}
}

and it is correct to write like this
.page-header>.__top-menu

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question