devdocs
devdocs copied to clipboard
Grunt LESS Documentation should make local-themes.js vs themes.js more clear and work by default
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
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
- Join Magento Community Engineering Slack and ask your questions in #github channel.
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