I need to override vendor/magento/theme-frontend-blank/Magento_Theme/web/js/theme.js to my custom theme in app/design/frontend/[vendor]/[theme]/
I found that I need to do it through requirejs-config.js with map but I didn't find the way to do it.
Where should I create the requirejs-config.js and what I have to write in it?
1 Answer 1
You can copy the theme.js file to the below path
app/design/frontend/[vendor]/[theme]/Magento_Theme/web/js/
Run bin/magento s:s:d
It'll work for you.
- 
 Cheers!!! Have a great day!Sumit– Sumit2019年08月09日 12:18:50 +00:00Commented Aug 9, 2019 at 12:18