-
-
Notifications
You must be signed in to change notification settings - Fork 369
Open
Labels
RFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)TwigComponent
Description
Hi, I use component directory structure from this article and is powefrull. I use it in all my projects.
But I miss there One feature. I cant use custom css file without javascript controller
this can be nice feature
#[AsTwigComponent('MyComponent', template: 'MyComponent/MyComponent.html.twig', css:"MyComponent/MyComponent.css")]
class MyComponent{
}
The css parameter add css file to asset mapper.
If this is good idea, I can try do PR.
Kocal and pfpro
Metadata
Metadata
Assignees
Labels
RFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)TwigComponent