Skip to content
This repository was archived by the owner on Feb 17, 2024. It is now read-only.

Commit 05b4835

Browse files
committed
📖 update readme
1 parent f11547a commit 05b4835

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Because DopeDocs is an Angular app, it must be bootstrapped with all your exampl
7575
import 'core-js'
7676
import 'zone.js'
7777

78+
import { FormsModule } from '@angular/forms'
7879
import { createDopeDocs } from '@angularclass/dope-docs'
7980
import { UIModule } from './app/ui'
8081

@@ -87,6 +88,14 @@ createDopeDocs({
8788
* This is the markdown for your Docs entry route. Will be the landing page
8889
*/
8990
entryMarkdown: `# My Teams' Components`,
91+
92+
/*
93+
* Any NgModules your NgModule will need. Great if your project is a library
94+
* and depends on the host app for these modules
95+
*/
96+
ngModuleImports: [
97+
FormsModule
98+
],
9099
/*
91100
* This function must return all the modules in your app that have docs.
92101
* Above is an example of how to do so pragmatically using webpack`s `require.context`.

0 commit comments

Comments
 (0)