$ yarn add lunatic-dsfr @codegouvfr/react-dsfr
You must follow the setup instruction from react-dsfr.
import { MyComponent } from "lunatic-dsfr";
import { MyComponent } from "lunatic-dsfr/MyComponent";
yarn
cd ~/github
git clone https://github.com/garronej/test-lunatic-dsfr
cd test-lunatic-dsfr
yarn
cd ~/github
git clone https://github.com/isMattCoding/lunatic-dsfr
cd lunatic-dsfr
yarn
yarn build
yarn link-in-main-project test-lunatic-dsfr
npx tsc -w
# Open another terminal
cd ~/github/test-lunatic-dsfr
yarn start