-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Themes Preview: document_head.hbs content not being loaded #188
Comments
Hi @MarkRoodPDQ, Thanks for creating this issue!
<script src="{{asset 'jquery.js'}}"></script>
<script src="{{asset 'bootstrap-bundle-min.js'}}"></script>
<script src="http://localhost:4567/guide/assets/jquery.js"></script>
<script src="http://localhost:4567/guide/assets/bootstrap-bundle-min.js"></script> Can you share how you're referencing some these assets in the I'll also ask you to retry after running a |
@luis-almeida, oh don't get my hopes up with clearing the cache doing the trick. I should be able to test/verify shortly. Thanks for helping us along the way with this! |
Hi @MarkRoodPDQ, |
Running into the same issue with an (almost) identical version / environment. Version: @zendesk/zcli/1.0.0-beta.34 win32-x64 node-v18.16.0 Some additional observations:
Happy to help debug - would much prefer to use zcli for theme development over needing to setup zat again 🙈 |
Small update: was able to use one of our macOS lab devices and was able run the preview like normal from ZCLI. Seems to be Windows OS specific. |
Hi there, I had exactly the same problem as @jhuan-montoya and @MarkRoodPDQ and I was unable to use theme preview feature. The problem is that we are using Windows and the getTemplates function from the zcli-theme package doesn't handle the Windows path format. I fixed the code here and created the PR #219 To save your time and fix the problem without waiting for this update, edit directly the file
Enjoy! |
Apologies for the long delay addressing this issue! Please let us know if you run into any other errors. |
Expectations
jQuery, LotusUtils (LotusThemes) and styles that are declared in document_head.hbs are defined
Reality
Neither jQuery or LotusUtils scripts are initiated in the window
Steps to Reproduce
Issue details
The text was updated successfully, but these errors were encountered: