A basic template to start working with react-figma package
The template includes:
- Basic file structure
- TypeScript configuration
- Webpack configuration
-
clone repository from GitHub
git clone https://github.com/react-figma/react-figma-boilerplate.git <your project name>
-
install node modules either with
Yarn
ornpm
Yarn:
cd <your project name> yarn
npm:
cd <your project name> npm install
-
run
Yarn:
yarn webpack:watch
npm:
cd <your project name> npm run webpack:watch