Customizable React UI library which supports both front-end and back-end rendering.
npm install react-modular-ui --save
or
yarn add react-modular-ui
import React from 'react';
import {Button} from 'react-modular-ui';
class Example extends React.Component {
render() {
return (
<Block layout="horizontal" justify="center">
<Button color="primary">Sign up</Button>
<Button>Sign in</Button>
</Block>
);
}
}
npm install
Build:
gulp
Start server:
npm start
Client side rendering example: http://localhost:3000 Server side rendering example: http://localhost:3000/static
npm run test-dev