Socket
Socket
Sign inDemoInstall

curricula-ui

Package Overview
Dependencies
86
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    curricula-ui

A react based app to remix training curricula.


Version published
Maintainers
1
Install size
18.5 MB
Created

Readme

Source

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.

Keywords

FAQs

Last updated on 22 Apr 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc