Skip to content

Wiredep fails to inject ng-grid v3 into HTML file #3673

@joeskeen

Description

@joeskeen

In order to inject script and CSS references into an HTML file, Wiredep needs to read the main property in the bower.json file which lists the files that should be injected. Ng-grid v2.x did have a main property, so it works properly, but v3 has no main property.
The workaround is that you have to manually add script/CSS references to your HTML file for ng-grid. This should definitely be addressed before the v3.0 release.

Sources
Wiredep: https://github.com/taptapship/wiredep#what-can-go-wrong
ng-grid v2: https://github.com/angular-ui/ng-grid/blob/v2.0.14/bower.json
ng-grid v3: https://github.com/angular-ui/ng-grid/blob/master/bower.json

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions