I am in the process of converting my HTML template into an Angular app. In my project, I have a CSS folder named plugins and an image folder.
However, when I try to add the following code snippet to the angular.json file:
"styles": [
"src/assets/plugins/listtyicons/style.css",
"src/assets/plugins/jquery-ui/jquery-ui.min.css",
"src/assets/plugins/bootstrap/css/bootstrap.min.css",
"src/assets/plugins/isotope/isotope.min.css",
"src/styles.css"
]
I encounter an error when attempting to start the Angular app. My plugin folder is located inside the assets folder and the error message reads as follows:
ERROR in multi ./src/assets/plugins/listtyicons/style.css
./src/assets/plugins/jquery-ui/jquery-ui.min.css ./src/assets/plugins/bootstrap/css/bootstrap.min.css ./src/assets/plugins/isotope/isotope.min.css ./src/styles.css
Module not found: Error: Can't resolve
'/Users/nilay/angular/bes/src/assets/plugins/plugins/isotope/isotope.min.css'
in '/Users/nilay/angular/bes'
This error has me puzzled and I can't seem to figure out why it's occurring.