Include less file in head script in Theme

Is there a way to include a .less file from the supplementary files from within the HeadScript area of the Theme in ThemeStudio?

I can get the file to include, but it is not processing as LESS.

Parents
  • I think I need to get a different type of executed URL for a supplementary theme file from within the HeadScript area of the Theme.

  • You should use core_v2_widget.GetExecutedFileUrl(fileName). This will retrieve the processed file location (which is lazy populated) for LESS/CSS files.

  • Will this work within the HeadScript in Theme Studio as well?

Reply Children
No Data