We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Related to #1386, can.stache templates should be able to import components and modules they depend on.
can.stache
For example, if a stache template looks like:
<div><can-slider></can-slider></div>
It will be transpiled to import can-slider.
can-slider
Also, a template might depend on helpers. These can be imported like:
<import from="my/helpers">
It's possible that a component's name doesn't match it's moduleName. We can also support the following:
<import from="components/slider" as="can-slider"> <can-slider></can-slider>
In this case can-slider will not be imported, only components/slider.
components/slider
The text was updated successfully, but these errors were encountered:
stache imports for #1387
f67b547
docs for #1387
4a7d201
4a7175b
f31c60d
No branches or pull requests
Related to #1386,
can.stache
templates should be able to import components and modules they depend on.For example, if a stache template looks like:
It will be transpiled to import
can-slider
.Also, a template might depend on helpers. These can be imported like:
It's possible that a component's name doesn't match it's moduleName. We can also support the following:
In this case
can-slider
will not be imported, onlycomponents/slider
.Other
The text was updated successfully, but these errors were encountered: