Skip to content

Again "pug include" question #802

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

Closed
ibyteyou opened this issue May 2, 2017 · 2 comments
Closed

Again "pug include" question #802

ibyteyou opened this issue May 2, 2017 · 2 comments

Comments

@ibyteyou
Copy link

ibyteyou commented May 2, 2017

i want continue issue #472, please watch my situation)
i use pug mixins for inline sugar elements, example:

mixin Up
  mark ▲
mixin Down
  mark ▼
mixin Left
  mark ◀
mixin Right
  mark ▶
mixin Alt
  mark.w ⌥ Alt

div.helper #[+Up], #[+Down] + #[+Alt] - something hotkey

Do I understand correctly #472 if i want reuse this mixin into others components - i should create for it new component with components with render () functions and import this how mixin.
I really should complicate and scripting my system for the sake of 3-5 mini inline-templates? Not expensive?
At least my variant more readable...

@LinusBorg
Copy link
Member

Closing because this issue does not conform to the required issue format for bugs or feature requests.

@ibyteyou
Copy link
Author

#1122 solved!

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

2 participants