devdocs icon indicating copy to clipboard operation
devdocs copied to clipboard

Missing information about the usecase of the command `bin/magento dev:source-theme:deploy`

Open Eddcapone opened this issue 4 years ago • 5 comments

General issue

Description:

Feedback on page: /guides/v2.4/config-guide/cli/config-cli-subcommands-less-sass.html

Unclear why this command exist. There is no explanation. Whats the usecase?

It just says "Use this command to create symlinks to LESS files." but does not explain why and in which usecase it is recommended or needed to create symlinks to the LESS files.

Resource: command present in the CLI reference

Eddcapone avatar Feb 10 '21 10:02 Eddcapone

Hi @Eddcapone. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this


m2-assistant[bot] avatar Feb 10 '21 10:02 m2-assistant[bot]

@magento I am working on this

Santoshziffity avatar Feb 26 '21 13:02 Santoshziffity

Basically it's create symlinks all your less/sass files to pub/static but not compile to css yet. That's all This command rarelly use (Default you should go to grunt workflow or basic run static-content:deploy). Only one use case for this is when you create new less file with styles and you want to sync that file to your theme ouput in pub folder

mrtuvn avatar Mar 25 '21 02:03 mrtuvn

@Santoshziffity Are you still working on this?

erikmarr avatar May 12 '21 14:05 erikmarr

Due to no response, I am removing the assignee to allow someone else an opportunity to work on this issue.

hguthrie avatar Aug 04 '21 13:08 hguthrie