Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.41 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.41 KB

catala-web-assets

Web assets generated from Catala programs about the French law:

To use

Add the package to your project:

yarn add catala-web-assets

Import the wanted file from the assets folder:

require("catala-web-assets/assets/<file_name>");

In local dev

In order to test and update the assets without having to publish a new package version you can:

# In this repo
yarn link

# In the website repo
yarn link catala-web-assets

Generating assets

The assets folder is generated from the Catala compiler. To generate these assets, please refer to the dedicated section of the Catala compiler INSTALL.md.

Websites using this assets

Important

If the generated schemas is intended to be used with @codegouvfr/rjsf-dsfr, please refer to the Notes on writing schemas section.