Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

completejavascript/tina-react-router-starter

Repository files navigation

This is a Tina CMS starter project.

Netlify Status

Setup

  • Fork this repo
  • Clone the fork to your local machine.

Local Development

Install the project's dependencies:

pnpm install

Run the project locally:

pnpm dev

Open http://localhost:3000 with your browser to see the result.

Building the Starter Locally (Using the hosted content API)

Replace the .env.example, with .env

TINA_CLIENT_ID=<get this from the project you create at app.tina.io>
TINA_TOKEN=<get this from the project you create at app.tina.io>
TINA_BRANCH=<Specify the branch with Tina configured>

Build the project:

pnpm build

Then run the app in production mode:

pnpm start

Deploying the Site

This project can easily be deployed using services like Netlify or Vercel.

Build settings

In general, the build settings will look like so:

# Build command
pnpm run build
# Output directory
build/client

Environment variables

When setting up the Netlify/Vercel project, apply the TINA_CLIENT_ID & TINA_TOKEN environment variables from your app.tina.io project.

Learn More

To learn more about Tina, take a look at the following resources:

You can check out Tina Github repository - your feedback and contributions are welcome!

DIY

If you're familiar with deploying Node applications, the built-in React router app server is production-ready.

Make sure to deploy the output of pnpm run build

  • build/server
  • build/client

Styling

This template comes with Mantine already configured for a simple default starting experience. You can use whatever css framework you prefer. See the Vite docs on css for more information.

TODO

  • Update CustomTinaMarkdown custom components.

About

TinaCMS with React Router framework & Mantine UI starter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /