bcakmakoglu / contentful-vite-starter

A Contentful App template using Vite + React + Forma36.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A Contentful App template using Vite + React + Forma36.

License:MIT License


Languages

Language:TypeScript 88.7%Language:JavaScript 6.5%Language:CSS 3.0%Language:HTML 1.9%