From 296ad94627bbcfee8f3657f81d41d8a283973e3d Mon Sep 17 00:00:00 2001 From: anweshknayak Date: Mon, 28 May 2018 21:20:59 +0530 Subject: [PATCH] readme updated --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index d158ab576..9fc7fe297 100644 --- a/README.md +++ b/README.md @@ -68,21 +68,22 @@ The app template is based on [HTML5](http://whatwg.org/html), [TypeScript](http: 1. Create a module using `ng generate module [name]` + 2. Go to *app.module.ts* - import the module - - import { module_name } from './module' - + ` + import { module_name } from './module_path' ` + - declare the module in -``` - @NgModule({ - imports: [ module_name ]}) - ``` + ` + @NgModule({ imports: [ module_name ]}) + ` + +3. Go to module folder -3. Setup routing in newly created module #### Coding guides