Skip to content

CatalaLang/catala-web-assets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.