This template provides a React+Typescript boilerplate with minimal setup using Vite to get a React app working with Occtoo as a data source for fetching and rendering product data.
Docs: https://docs.occtoo.com/
Currently using these plugins:
- react-query for data fetching
- tailwindcss for styling
- react-router-dom for routing
- openapi-typescript-codegen for generating Typescript client and types based on OpenAPI specification
yarn installor using npm:
npm installyarn codegenor using npm:
npm run codegenNote
This command needs to be executed each time a change is made to the OpenAPI spec provided as input.
yarn devor using npm:
npm run devThis template uses Vite for development and building. Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects.
