0.0.1 • Published 7 years ago

@pipeci/pci-react-config v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

PipeCI React Config

Simple configuration support for create react app style projects.

Usage

import React from 'react';
import { render } from 'react-dom';

import { setupConfig } from 'pci-react-config';
import { development } from './config/development';
import { production } from './config/production';
import { staging } from './config/staging';

setupConfig({
  development,
  production,
  staging
});

import { App } from './components/App/App';
import { unregister } from './registerServiceWorker';

import 'bootstrap/dist/css/bootstrap.css';
import './index.css';

render(<App />, document.getElementById('root'));
unregister();