I am facing an issue with loading CSS, JS, and images in my Angular 9 project. I have separate 'admin' and 'catalog' folders where I want to load different components. However, the assets are not loading properly in the 'catalog' folder as shown in the image below:
https://i.sstatic.net/vOGe2.jpgHere is my routing configuration in app-routing.module.ts:
// Routing configuration code here
In catelog.module.ts:
// Module imports and declarations
In catelog-routing.module.ts:
// Routing configuration for catalog module
Contents of app\catelog\pages\common\common.component.html:
// HTML code for common component
My folder structure:
https://i.sstatic.net/8bB3I.jpgI am able to load CSS, JS, and images properly in the 'admin' folder, but facing issues with the 'catalog' folder. Can someone please assist me in resolving this problem?
Please provide guidance to fix this loading issue.