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
Sorry for I can't read Chinese.
below is very simple example showing bugs. First example is working. <?= ?> rule is custom.
<?= ?>
Example 1 It works.
// sample.art <div id="content"> hi <img src="../../image/placeholder.png" alt="al" /> <?= text ?> {{ include './loadable.art' }} </div> // loadable.art <div id="loadable" style="display: none;">loading...</div>
After web packing,
// webpacked/sample.art <div id="content"> hi <img ... /> <?= text ?> <div id="loadable" style="display: none;">loading...</div> </div>
However, when I build include with params, it looks error
Same example, but error!!
Example 2 Not works.
// sample.art <div id="content"> hi <img src="../../image/placeholder.png" alt="al" /> <?= text ?> <%= include('./loadable.art', {key: 'value'}) %> // loadable.art <div id="loadable" style="display: none;">loading...</div> </div> // webpacked/sample.art <div id="content"> hi <img alt="al" /> <?= text ?> <div id="content"> hi <img alt="al" /> <?= text ?> <div id="loadable" style="display: none;">loading...</div> </div>
How can I pass parameter in include, and after Webpack, it works?
The text was updated successfully, but these errors were encountered:
Oh, I did horrible mistake. It was <% not <%=
<%
<%=
Sorry, something went wrong.
No branches or pull requests
Sorry for I can't read Chinese.
below is very simple example showing bugs.
First example is working.
<?= ?>
rule is custom.
Example 1 It works.
After web packing,
However, when I build include with params, it looks error
Same example, but error!!
Example 2 Not works.
How can I pass parameter in include, and after Webpack, it works?
The text was updated successfully, but these errors were encountered: