From 2734b2a1bcbf17eb511f5dd1fb2d3d522b9796c3 Mon Sep 17 00:00:00 2001 From: Mark Perkins Date: Wed, 17 Aug 2016 15:33:57 +0100 Subject: [PATCH] Fix engine registration example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 36f3e09..c03eb07 100644 --- a/README.md +++ b/README.md @@ -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 ```