@catala-lang/catala-web-assets
v0.10.4
Published
Web assets generated from Catala programs about the French law
Readme
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-assetsImport 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-assetsGenerating 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.
