You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ WIP
7
7
# Install
8
8
9
9
```bash
10
-
yarn add react_dsfr
10
+
yarn add dsfr-react
11
11
```
12
12
13
13
`package.json` (Optional if you are using Next.js):
@@ -18,7 +18,7 @@ yarn add react_dsfr
18
18
}
19
19
```
20
20
21
-
> `update_dsfr_static_resources` is a `bin` script of `react_dsfr` that copies `@gouvfr/dsfr/dist` to `public/dsfr`
21
+
> `update_dsfr_static_resources` is a `bin` script of `dsfr-react` that copies `@gouvfr/dsfr/dist` to `public/dsfr`
22
22
23
23
`.gitignore`:
24
24
@@ -60,12 +60,12 @@ If you are using [Create React App](https://create-react-app.dev/) or [Vite](htt
60
60
```
61
61
62
62
> NOTE: If you are using CRA and if you are hosting your app under a subpath (`package.json` -> `"homepage": "https://my-site.gouv/a/sub/path"`) you need to include
63
-
> `%PUBLIC_URL%`[like so](https://github.com/codegouvfr/react_dsfr/blob/c13d1066b188a509d5808aa6c87722bedc35f21f/src/test/apps/cra/public/index.html#L10-L21) in the URL.
63
+
> `%PUBLIC_URL%`[like so](https://github.com/codegouvfr/dsfr-react/blob/c13d1066b188a509d5808aa6c87722bedc35f21f/src/test/apps/cra/public/index.html#L10-L21) in the URL.
0 commit comments