Showing posts with label materialui. Show all posts
Showing posts with label materialui. Show all posts

Thursday, May 16, 2019

yarn react and materialui

open cmd with admin rights:
choco install yarn
close this cmd and open a "normal" cmd

yarn create react-app app
cd app
yarn add bootstrap@4.1.3 react-cookie@3.0.4 react-router-dom@4.3.1 reactstrap@6.5.0
yarn add @material-ui/core
yarn start


in App.js:


import React, {Component} from 'react';
import './App.css';
import Button from '@material-ui/core/Button';
import Table from '@material-ui/core/Table';
import TableRow from '@material-ui/core/TableRow';
import TableCell from '@material-ui/core/TableCell';




Sunday, October 14, 2018

Material UI and Spring Boot




https://material-ui.com/getting-started/installation/

download latest NPM here https://nodejs.org/en/ (10.12.0-CURRENT)

npx create-react-app react-material-ui
cd react-material-ui/
npm install @material-ui/core
npm install contentful





One can use rthis sample https://github.com/mui-org/material-ui/tree/master/examples/cdn

https://github.com/mui-org/material-ui

https://material.io/design/components/data-tables.html#usage