Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

A Contentful App template using Vite + React + Forma36.

License

Notifications You must be signed in to change notification settings

bcakmakoglu/contentful-vite-starter

Repository files navigation

Vite Contentful App Template

Build a Contentful App using Vite. 🍟

top-language dependencies Status devDependencies Status vulnerabilities GitHub code size in bytes GitHub last commit

🪄 Features

React TypeScript Vite ESLint

🛠 Setup

# create a new project
$ npx degit bcakmakoglu/contentful-vite-starter my-app
# or just clone the repo
$ git clone https://github.com/bcakmakoglu/contentful-vite-starter.git my-app

# you're free to use the package manager of your choosing
$ pnpm install

🧪 Development

After setting up your Contentful App config on the Contentful Web Application, you can start development. For instructions on setting up the App check the documentation.

# start (dev)
$ pnpm dev

# build app
$ pnpm build

# serve app from dist dir
$ pnpm serve

# upload dist dir to contentful
$ pnpm upload