Labels |
Added:
No Code Attached Yet
|
Title |
|
There is some good documentation on Joomla 4 and the use of SCSS. https://docs.joomla.org/J4.x:SCSS_and_Sass/en
There is some good documentation on Joomla 4 and the use of SCSS. docs.joomla.org/J4.x:SCSS_and_Sass/en
All the commands in that doc are wrong
eg
You can compile all Joomlaǃ core css files with the command
node build --compile css
should be
You can compile all Joomlaǃ core css files with the command
npm run build:css
or if someone needs to build a specific folder:npm run build:css -- templates/cassiopeia/scss
or if they want to watch a folder:npm run watch -- templates/cassiopeia/scss
@dgrammatiko Do you know who is responsible for this documentation? If it's wrong it needs to fixed asap as many people are going to use the Cassiopeia as stating point. Is the REDME.md in the build folder up to date? Maybe we should add a reference to this file?
Is the REDME.md in the build folder up to date
Yes
Maybe we should add a reference to this file?
and yes
Do you know who is responsible for this documentation?
No
Do you know who is responsible for this documentation?
Its a wiki. You/We/They are all responsible for its content ;-)
Here is a list of previous contributors https://docs.joomla.org/index.php?title=J4.x:SCSS_and_Sass&action=history
You can edit the page by selecting Edit from the Actions menu https://docs.joomla.org/index.php?title=J4.x:SCSS_and_Sass&action=edit
@PhilETaylor Thanks! I'll try to update the parts that are wrong... Someone has got to do it
This should be closed
Expected behavior because we removed less support in j4.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-11-09 12:15:10 |
Closed_By | ⇒ | HLeithner |
We removes the less compiler in j4 for 2 reasons.
Joomla switched to scss and the less compiler was out of date.
So you have to compile your less on your local machine and upload the CSS file.