mirror of
https://github.com/aphrody-labs/base-ui.git
synced 2026-10-14 13:19:31 +00:00
See https://github.com/mui/material-ui/pull/40447 rel are no longer needed for security. This was a thing in 2020, as a temporary fix.
React + TypeScript + Vite
This template provides a minimal setup to get React + Base UI (styled with plain CSS) working in Vite with HMR and some ESLint rules.
Getting Started
Prerequisites
Install dependencies
pnpm install
Run the development server
pnpm dev
This will start the Vite development server. Open http://localhost:5173 to view the app in your browser.
Build for production
pnpm build
Preview the production build
pnpm preview
Make sure to build the project for production with pnpm build first.
Linting
To run ESLint:
pnpm lint