devdocs icon indicating copy to clipboard operation
devdocs copied to clipboard

Grunt LESS Documentation should make local-themes.js vs themes.js more clear and work by default

Open schizek opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Which topic?

https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/css-topics/css_debug.html

What's wrong with the content?

When following these instructions the user will always get the error “Error: Cannot find module ….” because the tutorial suggests to edit themes.js directly. The "important note" there just says "check the path in your grunt-config.json file and correct as necessary."

What changes do you propose?

Update to either recommend copying themes.js into local-themes.js (which is the file referenced by default in grunt-config.json) instead of editing themes.js directly or update grunt-config.json to reference themes.js if it is preferred to edit this file instead.

Anything else that can help to cover this?

No response

schizek avatar Mar 16 '22 13:03 schizek

Hi @schizek. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information.

Add a comment to assign the issue: @magento I am working on this


m2-assistant[bot] avatar Mar 16 '22 13:03 m2-assistant[bot]

The Commerce Frontend Development guide has been migrated. I added this issue to the new repository issue list. https://github.com/AdobeDocs/commerce-frontend-core/issues/41

hguthrie avatar Sep 01 '22 14:09 hguthrie