0.1.2 • Published 5 years ago

nuxt-bem-module v0.1.2

Weekly downloads
37
License
MIT
Repository
github
Last release
5 years ago

bem-module

npm version npm downloads 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