figma2react
figma2react copied to clipboard
No components were created
Steps to reproduce
- install CRA by
npx create-react-app test-figma2react
- install
npm i -g figma2react
globally and configurate.figma2react
configuration file for figma connection - create rectangle named
test
at figma - run
figma2react generate
What needs to be done:
Component named test
should be created at the src/components
folder
What actually happened
Empty src/components
folder was created
- run
figma2react watch
- change the color of the rectangle
What needs to be done:
Component named test
should be created at the src/components
folder
What actually happened
figma2react
wrote the text "project changed, making modifications!", but there are still no components at the src/components
folder
Error at generateComponents (row 102 in figma2react.js) when fetch images
{"params":["file_key"],"query":["ids"]} are required
Same Error Component is not generated using figma2react it is making an empty components folder in src.
Error at generateComponents (row 102 in figma2react.js) when fetch images
{"params":["file_key"],"query":["ids"]} are required
You probably need to convert the icon to a component in Figma for it to work