in the starter guide you say, download roots, rename and grunt.
If I rename roots to mytheme, is mytheme string supposed to be found anywhere else in the code? I have the exact same content in the files that if I wouldnt renamed it and I would like to be sure.
On this purpose, should I modify something in Gruntfile.js such as
@Foxaii - its all installed in the correct path etc. - if i type in grunt watch it starts ‘watching’ - the minute i make any changes to my Less files, it just says there was a error, -
In this case, my theme is loading fine with the “wrong” sourcemap path and there is no 404 in chrome developer tools.
Just this //# sourceMappingURL=/app/themes/cdb/assets/js/scripts.min.js.map as I said in my previous post at the end of scripts.min.js so I don’t really know at which point “roots” is using that .map file.
Sourcemaps are dev tools, so the theme will load fine without it.
When sourcemaps are enabled, dev tools will reference specific the .less file or script instead of main.min.css/scripts.min.js file that is was minified and concatenated into.
The Gruntfile needs to be edited to add support for sourcemaps but you can read more about that here or try the search.