Skip to content

Conversation

@Manvi07
Copy link

@Manvi07 Manvi07 commented Jan 11, 2019

#2 This PR adds a responsive side navigation bar with a toolbar and a footer(not in the screenshot provided). Dashboard schematic is generated but yet to be combined.
Implemented by using angular material schematics. Tutorial link:
https://www.youtube.com/watch?v=Bj2pYYoTs74&list=PLriqQSgHdESHOzOJwgUKeAgmqfc--gBUo&index=5

screenshot from 2019-01-11 12-09-28


const appRoutes: Routes= [
{path: '', component: MyDashComponent}
]
Copy link
Member

@aashish-ak aashish-ak Jan 16, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should go in the AppRoutingModule, all components should be there in the app-routing.module.ts file as the path is the url you want for that component and component is the component you want to load whenever the corresponding path is accessed.

MatSidenavModule,
MatIconModule,
MatListModule,
// RouterModule.forRoot(appRoutes),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this and add it in the app routing module file.

@@ -1,5 +1,5 @@
<!--The content below is only a placeholder and can be replaced.-->
<div style="text-align:center">
<!-- <div style="text-align:center">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Incomplete <!-- is the cause of your error as you haven't closed this comment, remove this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants