Files
weave-scope/client/app/scripts/main.js
David Kaltschmidt 8c5638edb2 Asset fingerprinting
* adds `?hash` to JS and CSS bundle URLs against caching in production
* uses `html-webpack-plugin` to generate html dynamically
* html based on template in `app/html/index.html`
* per-app html files no longer needed
* `build/` dir is now completely deleteable, and fully gitignored
* top-level `make` now requires `client/app` to pick up on html and
  style changes
* cleaned up `server.js` code for production bundle testing
* added readme entry about testing production bundles
2016-04-20 12:33:22 +02:00

11 lines
260 B
JavaScript

require('font-awesome-webpack');
require('../styles/main.less');
require('../images/favicon.ico');
import React from 'react';
import ReactDOM from 'react-dom';
import App from './components/app.js';
ReactDOM.render(<App />, document.getElementById('app'));