Skip to content

Angular-cli V1.0.0 3rd party scripts or styles are not loading  #5944

@nguyendnhat

Description

@nguyendnhat

I'm using "@angular/cli": "^1.0.0"
And add material lite in to project
"apps": [
{
"root": "Client",
"outDir": "wwwroot/dist",
"assets": [
"assets",
"favicon.ico"
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "CRM",
"styles": [],
"scripts": [ "../node_modules/material-design-lite/material.min.js" ]
}
],

But it does not get loaded.
How fix it.

@node: v6.10.2
@npm: 3.10.10

Metadata

Metadata

Assignees

No one assigned

    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