A search client for Trade Events.
npm install
npm start
open http://localhost:3000
This boilerplate project includes React-friendly ESLint configuration.
npm run lint
npm run clean && npm run build && npm run deploy
Include the build output (e.g. bundle.js
and explorer.css
) within the head
tag.
<html>
<head>
...
<script src="bundle.js"></script> <!-- Trade Event Search js -->
<link href="explorer.css"></script> <!-- Trade Event Search styles -->
...
</head>
<body>
...
<div id="main"></div>
<script>
// Explorer is provided by bundle.js.
// Explorer.render(<elementId>) must be called after the DOM element.
Explorer.render('main')
</script>
</body>
</html>
- React
- Webpack
- webpack-dev-server
- babel-loader
- react-hot-loader