Skip to content
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

fix(storefront): bctheme-1284 Fix error on using scoped nested external templates #1003

Merged
merged 2 commits into from
Oct 19, 2022

Conversation

bc-alexsaiannyi
Copy link
Contributor

@bc-alexsaiannyi bc-alexsaiannyi commented Oct 17, 2022

What?

Currently we experience an error on attempt to use nested templates from external scoped modules due to special symbols . For instance, if we use some external template in our stencil theme where we re-use some other nested template from external and scoped module (like an UI library with styles and templates) we receive parsing error due to special symbol @. We've wrapped all such nested templates into quotes to prevent this behaviour.

Tickets / Documentation

Screenshots (if appropriate)

Screenshot 2022-10-17 at 21 28 38
categories-test template uses a nested template inside:
Screenshot 2022-10-17 at 21 27 53

Screenshot 2022-10-17 at 21 33 31

cc @bigcommerce/storefront-team, @bigcommerce/themes-team

@bc-alexsaiannyi bc-alexsaiannyi merged commit 1964ff5 into bigcommerce:master Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants