Skip to content

Commit

Permalink
docs: update readme usage steps
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinccbsg committed Mar 22, 2024
1 parent d4883ba commit 4074afe
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,27 @@ export default defineConfig({
});
```

3. Now we need to modify the Remix entry files [entry.client.tsx](https://remix.run/docs/en/main/file-conventions/entry.client) and [entry.server.tsx](https://remix.run/docs/en/main/file-conventions/entry.server). If you don't see these files, use `npx remix reveal`.
3. Include your messages folder with two files like these ones:

`messages/en.js`
```json
{
"title": "Remix web example",
"description": "This is a simple example of how to use Remix to create a web app."
}
```

`messages/es.js`
```json
{
"title": "Remix web de ejemplo",
"description": "Este es un ejemplo de una web de remix"
}
```

4. Run `npm run dev` to generate the paraglide directory.

5. Now we need to modify the Remix entry files [entry.client.tsx](https://remix.run/docs/en/main/file-conventions/entry.client) and [entry.server.tsx](https://remix.run/docs/en/main/file-conventions/entry.server). If you don't see these files, use `npx remix reveal`.

```tsx
// entry.client.tsx
Expand Down

0 comments on commit 4074afe

Please sign in to comment.