4

You can set this up with Creative Exchange Live. When you export, you will see that any existing scriban template items will be exported to a root folder in your zip file. The default is -/scriban If you don't want to do a full export, say for example if you are using the SXA CLI to create the theme, just create a folder at the same level as your theme ...


4

This is due to a new setting added to SXA in 1.8 that has a known bug. The setting is XA.Foundation.Theming.AssetsOptimizationSwitch.Enabled, it is disabled by default so that users cannot disable the asset optimizer on the CD servers. As a work around, for now you can re-enable the asset optimizer switch and also disable the asset optimizer for your site. ...


2

The Creative Exchange Import process deletes the gulpfile.babel.js (since a dot is not a valid character for the item name). Workaround From Sitecore support I got the tip to rename the 'gulpfilebabel'-item to 'gulpfile' and change the extension from 'js' to 'babel.js'. And that works for me, the item was not deleted anymore.


1

Update from November 2021: The answer is relevant if you use Sitecore SXA(@sxa/celt) lower than 10.2. And it looks like Sitecore SXA 10.2 was inspired by this answer. If you use Sitecore SXA 10.2 or higher, please rely on out the box configuration. It looks like it could not be done with SXA CLI out of the box. But, it is possible to do with modification of ...


1

Solved this by using strictSSL: false in every file upload/delete post/get because I'm using a self-signed certificate. I changed the following files in the gulp\util folder inside the theme root folder: - requestChangeFile.js - requestChangeTemplate.js - requestDeleteFile.js search for 'url: url' and add to the request get/post call the parameter '...


1

This happens because when the Creative Exchange exports the theme files, it exports the gulpfile.babel.js file without the . between gulpfile and babel. A period is normally an invalid character for an item name, so that was probably stripped when the file was added. If you rename the file to have the period back in (gulpfile.babel.js), gulp will then be ...


Only top voted, non community-wiki answers of a minimum length are eligible