An open API service indexing awesome lists of open source software.

https://github.com/jackdevau/react-umijs-tinacms-demo

Umi.js + TinaCMS
https://github.com/jackdevau/react-umijs-tinacms-demo

cms react tinacms umijs

Last synced: 6 months ago
JSON representation

Umi.js + TinaCMS

Awesome Lists containing this project

README

          


Umi.js + TinaCMS

![image](/_img/tina-umi.png)


This repository demonstrates how to integrate Umi.js with TinaCMS for a dynamic blog-like application.

## Features

- **Dynamic Routing**: Supports dynamic routes for blog posts `/posts` & `/posts/:filename`.
- **Data Pre-loading**: Utilizes Umi.js's `clientLoader` for pre-loading data.
- **Inline Editing**: Integrates TinaCMS Visual Editor with the `useTina` hook.

## Getting Started

### Installation

1. **Clone the repository**:

```bash
git clone https://github.com/yourusername/umi-tinacms.git
```

2. **Install dependencies**:

```bash
pnpm install
```

3. **Start the development server**:

```bash
pnpm dev
```

4. **Open your browser** and navigate to `http://localhost:8000`.
5. **Checkout Tinacms:** navigate to `http://localhost:8000/admin`.

## Documentation

- [Umi.js Documentation](https://umijs.org/)
- [TinaCMS Documentation](https://tina.io/docs/)