Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for AssetCollector #39

Open
cyMarvin opened this issue Feb 9, 2021 · 3 comments · May be fixed by #43
Open

Support for AssetCollector #39

cyMarvin opened this issue Feb 9, 2021 · 3 comments · May be fixed by #43

Comments

@cyMarvin
Copy link

cyMarvin commented Feb 9, 2021

Hello!

I didn't read anything about it in the manual nor did I find an open issue about it, so I post my question right here.
Do you plan on supporting the AssetCollector?
It offers "BeforeStylesheetsRenderingEvent" where SCSS assets could be compiled.

I would like to use the f:asset.css ViewHelper with SCSS stylesheets like

<f:asset.css identifier="identifier123" href="EXT:my_ext/Resources/Public/Css/foo.scss" />
or maybe even inline like
<f:asset.css identifier="identifier123"> .foo { color: black; &.bar { color: red; } } </f:asset.css>

If you need any further information or contribution feel free to contact me. ;)

@cowboyxup
Copy link
Contributor

@cyMarvin I suggest also the support of the Assets Collector.
I'm currently working on a implementation in my fork, but this is currently in alpha state and not bulletproof.

@cowboyxup cowboyxup linked a pull request May 1, 2021 that will close this issue
@msollmann
Copy link

Any news on this?

@svewap
Copy link
Collaborator

svewap commented Apr 27, 2023

This feature has already been implemented. The ViewHelper is <wsscss:asset:scss href="EXT:template/...." />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants