Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
welefen committed Mar 27, 2017
1 parent 4a130f0 commit 757b372
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -16,7 +16,7 @@ npm install think-view-ejs

edit config file `src/config/adapter.js`, add options for ejs adapter:

```
```js
const ejs = require('think-view-ejs');
exports.view = {
type: 'ejs',
Expand All @@ -36,15 +36,15 @@ exports.view = {

Default options:

```
```js
const defaultOptions = {
cache: true
}
```

You can override it and add other options by editing file `src/config/adapter.js` :

````
````js
exports.view = {
type: 'ejs',
ejs: {
Expand Down

0 comments on commit 757b372

Please sign in to comment.