Comments (7)
from stylex.
I figured a way. We have to use craco js to extend cra default config and in craco.config.js
module.exports = {
babel: {
plugins: [
[
'@ladifire-opensource/babel-plugin-transform-stylex',
{
inject: true, // will inject compiled css to stylesheet in head
},
],
],
},
};
from stylex.
@phamthanhtrungg
Thanks, can you make a pull request for changing document in README.md?
from stylex.
from stylex.
@phamthanhtrungg please consider to add create-react-app example. It's should be placed in: packages/stylex-create-react-app-examples
from stylex.
I will make a pr tomorrow
from stylex.
from stylex.
Related Issues (11)
- Improve type definition HOT 2
- New ideas, improve project HOT 2
- Cannot install dependecies with node 12.4.0 and yarn HOT 7
- pseudo in media query not working
- Cannot use child selector with stylex HOT 1
- Cannot find module '@babel/core' when build with webpack + typescript(ts-loader)
- Allow nested objects within stylex.create for importing purposes
- xstyle of 'undefined' not supported in typescript
- Are you using your yourself? HOT 2
- SWC Support for stylex and Next > 13.4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stylex.