Compile sass during template installation #34684
Unanswered
barsdeveloper
asked this question in
Q&A
Replies: 1 comment 5 replies
-
You will need to fork this repo https://github.com/joomla/joomla-cms/blob/4.0-dev/README.md (follow the |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, it is not clear to me how one can build a template for J4 and use Sass.
I am trying to copy and adapt Cassiopeia, which looks like it is using just scss (https://github.com/joomla/joomla-cms/tree/4.0-dev/templates/cassiopeia)
But in joomla.asset.json it is referring only to .css files.
I expected scss files to be compiled and copied one to one in the css filder but that was not the case. Can anyone provide a minimal example of how to create a scss file, compile it during installation (not manually) and refer to it inside joomla.asset.json?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions