Code Monkey home page Code Monkey logo

material-vite's Introduction

React + TypeScript + MUI

A Vite template for React, TypeScript and the latest major version of MUI.

Highlights

  • React w/ TypeScript
  • Takes 8-10 seconds to build prod bundle at 198kb
  • v5 ( latest ) version of Material UI, @mui/material
  • Enables the @emotion/babel-plugin to work with MUI (see features)
  • Dark mode toggle
  • Aliased imports

Demo

Getting Started

  • Clone the repo, git clone https://github.com/christopher-caldwell/vite-material-ui.git, or use the "Use this template" button at the top of this page.
  • Install dependencies using yarn
  • Start the server with yarn dev

MUI

To learn more about the newest ways to use MUI, checkout the docs.

What's Included

  • Custom theming
  • Using that theme from within a styled component
  • Dark mode toggle with React Context
  • Aliased imports with @/ mapping to the src/
  • Rollup bundle analyzer
    • To use, run yarn analyze

material-vite's People

Contributors

hayelomt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.