fathom/assets/js/script.js

19 lines
490 B
JavaScript
Raw Normal View History

'use strict';
import React from 'react';
import ReactDOM from 'react-dom';
import RealtimeVisitsCount from './components/realtime-visits.js';
import VisitsList from './components/visits-list.js';
2016-11-21 16:36:25 +00:00
import PageviewsList from './components/pageviews.js';
2016-11-22 16:03:29 +00:00
import VisitsGraph from './components/visits-graph.js';
2016-11-22 16:03:29 +00:00
ReactDOM.render(
<div className="container">
<h1>Ana</h1>
<RealtimeVisitsCount />
<VisitsGraph />
<PageviewsList />
</div>,
document.getElementById('root')
);