facebook / stylex

StyleX is the styling system for ambitious user interfaces.
https://stylexjs.com
MIT License
8.22k stars 303 forks source link

Need help with Qwik. #521

Closed Dom-Cogan closed 2 months ago

Dom-Cogan commented 2 months ago

Describe the issue

Hello I am getting a compiler error when I’m developing my fresh blank Qwik project. It also produces the save error when I use ‘npm run Qwik build’ I still get that stylex.create should be compiled at build time with the babel-plugin. I’ve installed that plugin and even added a babel.config.js file copied right from the website. But that doesn’t fix it for build time or development. I’m lost I feel like I’m missing a step. The compile step specifically, but I’ve looked on YouTube videos and on the website and haven’t seen anything.

Expected behavior

I expect to be able to write code then see the updates in my preview then see those changes on build.

Steps to reproduce

Npm create qwik@latest (Choose blank app) Then install styleX Then stylex babel plugin Npm install Npm run dev

Test case

No response

Additional comments

No response