bem-module
A NustJS module to use BEM directive with SSR.
Based on @verstaerker/vue-bem bem directive.
Setup
- Add the
bem-module
dependency withyarn
ornpm
to your project - Add
bem-module
to themodules
section ofnuxt.config.js
- Configure it:
modules: // Simple usage 'bem-module' // With options 'bem-module' /* module options, same as for vue-bem */
Development
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
License
Copyright (c) Vlad Barcelo