I am not very experienced with front-end development, so for my current project, I have decided to utilize a pre-made Bootstrap template. I am in the process of integrating it into my project, relying more on my intuition rather than technical expertise due to my limited experience in front-end development.
Below are the template files and folders I am working with:
https://i.sstatic.net/6U0LR.png
Within the Angular app, I have created four components:
- about
- contact
- portfolio
- work
I have copied the corresponding HTML file into each of these components. The index file has been placed in the app.component.html file.
I have made changes to the file paths in the app.component.html (formerly index.html in the original template folder) as the assets (CSS/fonts/images/JS/Sass) are now located in different folders from the app.component.html (formerly index.html in the original template folder).
For example:
<link rel="stylesheet" href="assets/css/bootstrap.css">
has been updated to:
<link rel="stylesheet" href="../assets/css/bootstrap.css">
I believe I am following the correct procedure, but I continue to encounter the following error message:
GET http://localhost:4200/assets/css/bootstrap.css 404 (Not Found)