I am creating an angular component and in the assets folder i have pasted all the js and extra css files. But when i am trying to import the css file in a particular component it shows error that no such file or directory found where as when i click ctrl+click it goes to the right path but during compilation it shows this error.
I tried including absoulte path but still issue not resolved
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-login',
templateUrl: './login.component.html',
styleUrls: ['./login.component.css']
})
export class LoginComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}
@import '/src/assets/fonts/font-awesome-4.7.0/css/font-awesome.min.css';