0.0.11 • Published 8 years ago

curricula-ui v0.0.11

Weekly downloads
-
License
GPL-3.0
Repository
gitlab
Last release
8 years ago

Curricula UI

A react based app to remix training and workshop sessions and is a package dependency for the curricula-content-scaffold project.

Installation

npm install -S curricula-ui

This package defines a few peer dependencies. In order to use the curricula UI, you have to provide them in your application:

  • react@15.x
  • react-router@4.x
  • lodash@4.x
  • bluebird@3.x

For local development, simply install those requirements into local space:

npm install react@15.x react-router-dom@4.x lodash@4.x bluebird@3.x

Usage

import ReactDOM from 'react-dom';
import {BrowserRouter as Router} from 'react-router-dom';
import CurriculaUI from 'curricula-ui';

import 'styles/app.scss';

const App = props => (
  <div>
    <Router basename='/curricula' >
      <CurriculaUI {...props} />
    </Router>
  </div>
);

ReactDOM.render(<App />, document.getElementById('curricula-ui'));

Change the basename to the URL path, in which you want to mount the app.

In you parent app, provide styles to override the lokk and feel.

TODO: Add details on how to overwrite styles.

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago