@niama/pug-bem-plain-loader
v2.25.4
Published
Pug with BEM to plain html loader for webpack
Downloads
40
Readme
@niama/pug-bem-plain-loader
A loader that compiles Pug templates into HTML with BEM shortcuts inspired by the great work of Legostaev Vadim.
Installation
Note pug
is a peer dependency, so make sure to install both:
yarn add -D pug @niama/pug-bem-plain-loader
Usage
This loader has been developed to fullfil the needs of our company to easily integrate pug templates with a flexible BEM styling syntax into Quasar.
It is not intended to be used directly. Therefore, you can find the documentation in the dedicated app extension section : @niama/quasar-app-extension-pug.
Nevertheless, it is perfectly possible to use it with Webpack following instructions of the traditional pug-plain-loader.