Preact is a fast 3kB alternative to React with the same modern API.
This example uses shows how to use Material UI 4 with Preact X and Preact CLI 3.
git clone blah preact-mui
cd preact-mui
npm install
Run this command to move the app into a src/
directory.
Preact CLI detects and uses it automatically.
mkdir src && mv *.js src
# start up a development server:
npm start
# create a production build in `build/`:
npm run build
# start a production server locally
npm start
Tip: start the development server on a custom port using
PORT=1337 npm start