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

是否提供更簡潔的 block 標記方式 #616

Closed
1aron opened this issue May 6, 2020 · 0 comments
Closed

是否提供更簡潔的 block 標記方式 #616

1aron opened this issue May 6, 2020 · 0 comments

Comments

@1aron
Copy link

1aron commented May 6, 2020

目前欲標記 block 注入的位置不是用

{{ block 'main' }}

而是用

<% block('main', () => {}) %>

來標記會顯得相當不俐落,針對 <% %> 標記方式,是否可提供

<% block('main') %>

來使撰寫上更俐落呢!

這個模板引擎真的很具備開發者體驗呢 !!

@1aron 1aron closed this as completed May 6, 2020
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

No branches or pull requests

1 participant