0

Currently I use this link in my angular 5 application in index.html:

<link href="https://unpkg.com/[email protected]/css/angular-calendar.css" rel="stylesheet">

I tried to change this link to:

<link href="./node_modules/angular-calendar/css/angular-calendar.css" rel="stylesheet">

but it does not work. Does anyone know what I have to do in order to get it work. Is even the folder node_modules packed with webpack?

1 Answer 1

2

You need not do it in the index.html file

Make the changes in angular-cli.json file

  "styles": [
    "./node_modules/angular-calendar/css/angular-calendar.css",
    "styles.css"
  ],
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.