Back to Material Ui

Material UI - Vite example in TypeScript

examples/material-ui-vite-ts/README.md

9.0.01.3 KB
Original Source

Material UI - Vite example in TypeScript

How to use

Download the example or clone the repo:

<!-- #target-branch-reference -->
bash
curl https://codeload.github.com/mui/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/material-ui-vite-ts
cd material-ui-vite-ts

Install it and run:

bash
npm install
npm run dev

or:

<!-- #target-branch-reference -->

The idea behind the example

<!-- #host-reference -->

This example demonstrates how you can use Material UI with Vite in TypeScript. It includes @mui/material and its peer dependencies, including Emotion, the default style engine in Material UI.

What's next?

<!-- #host-reference -->

You now have a working example project. You can head back to the documentation and continue by browsing the templates section.