feat: added react-router

Signed-off-by: Simon Bailey <simon@newtriks.com>
This commit is contained in:
Simon Bailey committed 2014-09-26 14:23:08 +01:00
1 parent 3b27c1802a
commit 967706e942
10 files changed
+85 -41

No files matched your search

+3 -3
View File
@@ -27,7 +27,7 @@ var <%= scriptAppName %> = React.createClass({
);
}
});
React.renderComponent(<<%= scriptAppName %> />, document.getElementById('content')); // jshint ignore:line
<% if (!reactRouter) {
%>React.renderComponent(<<%= scriptAppName %> />, document.getElementById('content')); // jshint ignore:line
<% } %>
module.exports = <%= scriptAppName %>;