Skip to main content

Dealing with @chakra-ui template

Summary

This is a summary about this section.

Findings

Creating a typescript app

  • Using this link, you can either migrate an existing react app into a Typescript app or create a new typescript app from scratch. Adding TypeScript | Create React App (create-react-app.dev)

  • Both options don’t work properly because of the version conflict of react wit @chakra-ui/core and @chakra-ui/react.

Create a direct app using @chakra-ui template

Use the following link to create a react app directly with the @chakra template.

Create React App - Chakra UI (chakra-ui.com)

Migrating to yarn

Adding @craco dependency

Working vite

Working @chakra-ui