Giter VIP home page Giter VIP logo

material-ui-template's Introduction

This is a template site that you can use as a starting point for your Material-UI (MUI) project. I created it by starting with the awesome MUI docs site so it has the same master layout as that, but there are significant differences:

  • Stands alone. The MUI docs site is a subfolder of the main MUI project and components in the docs site references its parent. While it's not hard to tease this apart for someone who is familiar with webpack, npm, React, and MUI, it's not fun to have to do that before diving into your first MUI project... especially for newbies.

  • DRY and n-levels of left nav menu. To add/modify the left nav of the original MUI docs, you had to modify no less than three different source files. This template will automatically adjust the left-nav based upon app-routes.js including n-levels deep.

  • Custom theme in the project. MUI is designed to be themable and comes with two nice themes, but it's not immediately obvious how to activate a custom theme in context for all components. The Themes page now has three themes and it defaults to the custom one, so if you remove the Themes page, it will start up with your theme rather than one of the prebuilt ones. Just modify customBaseTheme.js. I also modified many components and pages to use the theme. There were many places where inline settings didn't honor theme colors and spacing.

  • Highcharts. There is an example chart page that uses Highcharts and react-highcharts.

  • Advanced Table. Included is a component that renders a table where you can click on the columns to accomplish sorting.

Requirements

Installation

After cloning the repository, install dependencies:

cd <project folder>/material-ui-template
npm install

Running

Once dependencies are installed, start the application with:

Browser

npm run browser:development

Open http://localhost:3000 to view the template site.

iOS

npm run native:development

Open ios/iosApp.xcodeproj in Xcode, build and run the project.

Android

npm run native:development
npm run android:setup-port
react-native run-android

material-ui-template's People

Contributors

lmaccherone avatar

Watchers

 avatar  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.