Skip to content

Commit

Permalink
Fix engine registration example
Browse files Browse the repository at this point in the history
  • Loading branch information
allmarkedup authored Aug 17, 2016
1 parent 95f4b77 commit 2734b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ You then need to configure Fractal to use Swig via the Consolidate adapter:
const consolidate = require('@frctl/consolidate');
const swigAdapter = consolidate('swig');

fractal.engine(swigAdapter); // use the consolidate/swig adapter
fractal.components.engine(swigAdapter); // use the consolidate/swig adapter

fractal.components.set('ext', '.swig'); // look for files with a .swig file extension
```
Expand Down

0 comments on commit 2734b2a

Please sign in to comment.