Nozbe / zacs

Zero Abstraction Cost Styling ⚡️👨‍🎨 (for React DOM & React Native)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work with Next.js

anakis opened this issue · comments

First of all, your lib is awesome!

Can you please help me to configure a workable example with next.js? I followed your steps and used the example provided by nextjs to work with a custom babel config and receives the following error: zacs.viewmethod called directly (not transpiled). Your Babel file is probably misconfigured or you have a syntax error

show us the transpiled JS code