nima200 / angular-dashboard Goto Github PK
View Code? Open in Web Editor NEWSkeleton for a responsive and fully customizable Angular Dashboard
License: Apache License 2.0
Skeleton for a responsive and fully customizable Angular Dashboard
License: Apache License 2.0
Hi Nima!
Firstly, thanks for the great tutorial and clear explanations!
However when I tried to build this it fails to spawn the cards because, I think, it seems not to find the reference for the injector.
When building a full demo of the code "as is" there it gives the error:
ERROR ReferenceError: dashboard_card_1 is not defined
at new DashboardUsersComponent (dashboard-users.component.ts:43)
https://stackblitz.com/edit/nima200-angular-dashboard
So I also have created a simplified StackBlitz (i.e. the first half of the Medium tutorial):
https://stackblitz.com/edit/nima200-angular-dashboard-basic
This rules out any router or Material components issues (e.g if using v6.0.0).
However it give the same error :(
Could this be simply an async issue?
If you have a moment, any suggestions to resolve this would be appreciated :)
Saludos, Mike
I added button so that we can navigate to dashboard by clicking the Title in the navbar.
I upgraded the angular cli to current version (9).
Angular.json has been created, replacing angular-cli.json.
Hope I can create a pull request. I was trying but I could not.
Here is my cloned version of your repo: [https://github.com/IamGiel/forking-dynamic-reusable-responsive-components]
Thanks,
Gel
FYI, I had an error serving this up "as is" in Ang 6 with the routing.module.ts
not being able to resolve the dashboard. I imported the dashboard module
import { DashboardModule } from '../dashboard/dashboard.module'
and modified the loadChildren parameter like below and it loads fine:
{ path: 'dashboard', loadChildren: ()=> DashboardModule },
Just in case anyone else runs into this.
Error statement
"Can't bind to 'colspan' since it isn't a known property of 'mat-grid-tile'.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.