Build a Contentful App using Vite. π
-
πΉ Write components in React
-
π¨ Use the next generation utility-first CSS framework Windi CSS
-
β‘οΈ Lightning fast development thanks to Vite 2!
-
βοΈ APIs & Components Auto import
-
π€Ή Components registered inside the components directory
-
πͺ React & React Hooks
-
βοΈ React-Use
-
-
π Enjoy a great dev experience with TypeScript
-
πͺ Comes with ESLint & Prettier to help you write neat code
# 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
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