mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-02-25 18:15:15 +01:00
14 lines
364 B
JavaScript
14 lines
364 B
JavaScript
var React = require("react");
|
|
var ReactDOM = require("react-dom");
|
|
var Article = require("./Article.jsx");
|
|
|
|
require("../stylesheets/style.less");
|
|
|
|
ReactDOM.render(<Article/>, document.getElementById("article"), function() {
|
|
// trigger a #hash navigation
|
|
if (window.location.hash) {
|
|
var hash = window.location.hash;
|
|
window.location.hash = hash;
|
|
}
|
|
});
|