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

Commit

Permalink
📖 update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrixer committed Jun 7, 2017
1 parent f11547a commit 05b4835
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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`.
Expand Down

0 comments on commit 05b4835

Please sign in to comment.