This repository demonstrates how to integrate Umi.js with TinaCMS for a dynamic blog-like application.
- 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.
-
Clone the repository:
git clone https://github.com/yourusername/umi-tinacms.git
-
Install dependencies:
pnpm install
-
Start the development server:
pnpm dev
-
Open your browser and navigate to
http://localhost:8000
. -
Checkout Tinacms: navigate to
http://localhost:8000/admin
.