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

feat: twind plugin #513

Merged
merged 3 commits into from Aug 9, 2022
Merged

feat: twind plugin #513

merged 3 commits into from Aug 9, 2022

Conversation

lucacasonato
Copy link
Member

@lucacasonato lucacasonato commented Jul 15, 2022

This PR implements a first party plugin for twind integration.

It also switches over www/ to us this new plugin.

@guifromrio
Copy link

That's great. Question: how would one use twind's shim? I noticed in the other PR you now use the result of the plugin rendering, which today is not possible (so shorthand expansions don't work for me now). Would the call to shim go in plugins/twind.ts render()?

reference for how I'm using it in main right now: https://github.com/deco-cx/live/blob/main/src/main.ts#L28

@lucacasonato

This comment was marked as off-topic.

@lucacasonato lucacasonato marked this pull request as ready for review August 9, 2022 19:30
@lucacasonato lucacasonato merged commit 660e0f5 into main Aug 9, 2022
@lucacasonato lucacasonato deleted the plugins_twind branch August 9, 2022 19:41
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.

None yet

2 participants