1 contributor
Like
Install react as a package?
Copied
npm i @bit/bit.examples.compilers.react
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
chevron_left
chevron_right
Babel-based transpiling environment for React components
Bit build enviroment for transpiling React components using Bit.
How to use?
Import the environment.
bit import bit.envs/compilers/react -c
Then build using bit build.
bit build
What’s inside
- Compiles
js
,jsx
andts
files. - In order to see which babel presets and plugins are used, take a look at the
.babelrc
file.