Skip to content

Commit

Permalink
doc: Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 10, 2021
1 parent eaed297 commit cc4c3e3
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ compile-less

All `.less` files are compiled into `.css` files.

### Install
## Install

```bash
npm i compile-less-cli --save-dev
```

### Basic Usage
## Basic Usage

```js
const compileLess = require('compile-less-cli');
Expand All @@ -26,7 +26,7 @@ compileLess('src', {
});
```

### Command Line
## Command Line

Command help:

Expand All @@ -53,7 +53,7 @@ Examples:
$ compile-less -d src -o out --combine out/dist.css
```

### Development
## Development

Listen for files compiled with TypeScript

Expand All @@ -66,3 +66,8 @@ npm run build
cd test
compile-less -d src -o out
```


## License

Licensed under the MIT License.

0 comments on commit cc4c3e3

Please sign in to comment.