Adds example on using the Local API (both fetching data and modifying
data) with Remix.
https://github.com/user-attachments/assets/fe215e4e-e446-4f92-b0ac-acbf3d0a225b
This is achieved through the monorepo:
```
website/
payload/
```
You can import the Payload config and types like this:
86d83216d7/examples/remix/website/app/routes/_index.tsx (L1-L16)
13 lines
180 B
CSS
13 lines
180 B
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
html,
|
|
body {
|
|
@apply bg-white dark:bg-gray-950;
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
color-scheme: dark;
|
|
}
|
|
}
|