mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
replaced remix with react-router
This commit is contained in:
35
examples/react-router/README.md
Normal file
35
examples/react-router/README.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# bknd starter: React Router
|
||||
A minimal React Router project with bknd integration.
|
||||
|
||||
## Project Structure
|
||||
|
||||
Inside of your React Router project, you'll see the following folders and files:
|
||||
|
||||
```text
|
||||
/
|
||||
├── public/
|
||||
├── app/
|
||||
│ ├── bknd.ts
|
||||
│ ├── root.tsx
|
||||
│ └── routes/
|
||||
│ ├── _index.tsx
|
||||
│ ├── admin.$.tsx
|
||||
│ └── api.$.tsx
|
||||
└── package.json
|
||||
```
|
||||
|
||||
To update `bknd` config, check `app/routes/api.$.ts` and `app/routes/admin.$.ts`.
|
||||
|
||||
## Commands
|
||||
|
||||
All commands are run from the root of the project, from a terminal:
|
||||
|
||||
| Command | Action |
|
||||
|:--------------------------|:--------------------------------------------|
|
||||
| `npm install` | Installs dependencies |
|
||||
| `npm run dev` | Starts local dev server at `localhost:5173` |
|
||||
| `npm run build` | Build your production site |
|
||||
|
||||
## Want to learn more?
|
||||
|
||||
Feel free to check [our documentation](https://docs.bknd.io/integration/remix) or jump into our [Discord server](https://discord.gg/952SFk8Tb8).
|
||||
Reference in New Issue
Block a user