Open Ajeey opened 8 years ago
Why aren't you mapping 'angular2-grid': 'node_modules/angular2-grid/dist',
in your src/tmp folder like 'app': 'src/tmp/app'
? This looks like a build issue, because: "exclude": [ "node_modules" ]
Hey @Ajeey,
Is it definitely saying can't bind to ng-grid
? Meaning your HTML looks something like:
<div [ng-grid]="gridOptions"></div>
If that's the case it's a simple fix. The selector is actually ngGrid
, so just update your HTML to say that like so:
<div [ngGrid]="gridOptions"></div>
If that's not the issue, then it would seem there is something wrong in your build pipeline and I'd need more information, from you about how it's built and served. I'm going to assume you have a file structure similar to this?
root
| - index.html
| - src
| | - tmp
| - node_modules
system.conf.js -
tsconfig.json
And my component file as -
I am using
What am I missing?