Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
language: node_js
node_js:
- 0.10
- 8.11
- 10.7
5 changes: 5 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Bemto changelog

## v2.2.0 (2018-07-30)

- Added support webpack, #96.
- Update dependencies.

## v2.1.0 (2016-12-26)

- Added support for prefix objects.
Expand Down
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,25 @@
include bemto/bemto.pug
```

3. Use it:
### Or install via npm / yarn

1. Install `bemto` to your project:

```sh
# via npm
npm i bemto -D

# via yarn
yarn add bemto -D
```

2. Include it in your `.pug` project:

```Pug
include (path to node_modules, for example: ../../)node_modules/bemto.pug/bemto_webpack
```

### Use it:

```Pug
+b.block1
Expand Down
Loading