I'm trying to include some default themes in my angular 2 application (in visual studio 2015).
I've added the following css line in my header, as it's done in the demo app:
<link href="@angular/material/core/theming/prebuilt/indigo-pink.css" rel="stylesheet">
But I'm getting the error The name 'angular' does not exist in the current context
.
I also found this guide. However, I can't seem to get any of the steps to work. I presume the "@angular" isn't working because I'm not using the "CLI". However, I can't get any form of direct reference working either.
I can find the css file in my D:\Projects\ProjectName\ProjectName\node_modules\@angular\material\core\theming
folder fine, but I can't find any way to reference it.
This produces the same error as above:
<link href="./node_modules/@angular/material/core/theming/prebuilt/indigo-pink.css" rel="stylesheet">
Is there some issue with the '@' in the filename? I might be making a really obvious error, as this is my first proper web application.