No Code Attached Yet
avatar wamk9
wamk9
22 Aug 2021

Hi everyone!

I update my Joomla to 4.0 Stable, but when i go to template edit on this version i don't have "Compile Less" Button on my application.

image

Anybody can help-me and tell when is this button or what i do now?

avatar wamk9 wamk9 - open - 22 Aug 2021
avatar joomla-cms-bot joomla-cms-bot - change - 22 Aug 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Aug 2021
avatar wamk9 wamk9 - change - 22 Aug 2021
Title
[J4] Compile LESS button missing!
[4.0] Compile LESS button missing!
avatar wamk9 wamk9 - edited - 22 Aug 2021
avatar HLeithner
HLeithner - comment - 22 Aug 2021

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.

avatar RickR2H
RickR2H - comment - 23 Aug 2021

There is some good documentation on Joomla 4 and the use of SCSS. https://docs.joomla.org/J4.x:SCSS_and_Sass/en


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35303.

avatar dgrammatiko
dgrammatiko - comment - 23 Aug 2021

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

avatar RickR2H
RickR2H - comment - 23 Aug 2021

@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?

avatar dgrammatiko
dgrammatiko - comment - 23 Aug 2021

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

avatar PhilETaylor
PhilETaylor - comment - 23 Aug 2021

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

avatar RickR2H
RickR2H - comment - 23 Aug 2021

@PhilETaylor Thanks! I'll try to update the parts that are wrong... Someone has got to do it ?

avatar brianteeman
brianteeman - comment - 9 Nov 2021

This should be closed

avatar HLeithner HLeithner - close - 9 Nov 2021
avatar HLeithner
HLeithner - comment - 9 Nov 2021

Expected behavior because we removed less support in j4.

avatar HLeithner HLeithner - change - 9 Nov 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-11-09 12:15:10
Closed_By HLeithner

Add a Comment

Login with GitHub to post a comment