How to use Polipo
By convention Polipo uses the following files:
polipo.ts
polipo.json
polipo.css
polipo-react.tsx
Layout configuration
Define which designs to import from Figma in the src/polipo.ts
file.
See all the configuration options.
Generated assets
Running polipo export
will generate src/polipo.json
and src/polipo.css
.
It is recommended to add these files to Git.
React configuration
The file src/polipo-react.tsx
loads the Polipo React library, switching between the development and production versions automatically.