From 05b4835886d3b2f3d8a1b263aa86a1e7b826dd8a Mon Sep 17 00:00:00 2001 From: Scott Moss Date: Wed, 7 Jun 2017 14:10:15 -0700 Subject: [PATCH] :book: update readme --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index de583c3..154fe4b 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,7 @@ Because DopeDocs is an Angular app, it must be bootstrapped with all your exampl import 'core-js' import 'zone.js' +import { FormsModule } from '@angular/forms' import { createDopeDocs } from '@angularclass/dope-docs' import { UIModule } from './app/ui' @@ -87,6 +88,14 @@ createDopeDocs({ * This is the markdown for your Docs entry route. Will be the landing page */ entryMarkdown: `# My Teams' Components`, + + /* + * Any NgModules your NgModule will need. Great if your project is a library + * and depends on the host app for these modules + */ + ngModuleImports: [ + FormsModule + ], /* * This function must return all the modules in your app that have docs. * Above is an example of how to do so pragmatically using webpack`s `require.context`.