Unable to load css and js on custom modules

Created on 6 March 2024, 9 months ago
Updated 20 March 2024, 8 months ago

Hello team,

I am currently working on implementing Single Directory Components (SDC) for my project. I have developed custom modules containing custom blocks/plugins, custom templates, and custom routes. Additionally, I have created components using the SDC pattern. While embedding these SDC components within custom block templates, the components load successfully. However, the associated CSS and JS do not load in this context. Interestingly, when embedding the same components in custom theme files such as node.html.twig and block.html.twig, the CSS loads properly. I would appreciate assistance in resolving this issue. Thank you.

💬 Support request
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India sureshravi chennai

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024