bem-module

0.1.1 • Public • Published

bem-module

npm version npm downloads Circle CI Codecov Dependencies Standard JS

A NustJS module to use BEM directive with SSR.

Based on @verstaerker/vue-bem bem directive.

Setup

  1. Add the bem-module dependency with yarn or npm to your project
  2. Add bem-module to the modules section of nuxt.config.js
  3. Configure it:
{
  modules: [
    // Simple usage
    'bem-module',

    // With options
    ['bem-module', { /* module options, same as for vue-bem */ }]
  ]
}

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

License

MIT License

Copyright (c) Vlad Barcelo

Dependents (0)

Package Sidebar

Install

npm i bem-module

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

7.51 kB

Total Files

8

Last publish

Collaborators

  • vladbarcelo