mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-09 11:22:44 +08:00
*ADD* Fallback: Added .jsx suffix support for new components (Resolves newtriks/generator-react-webpack#99)
This commit is contained in:
@@ -23,7 +23,7 @@ var <%= classedName %> = React.createClass({<% if(rich){%>
|
||||
|
||||
render: function () {
|
||||
return (
|
||||
<div>
|
||||
<div className="<%= classedName %>">
|
||||
<p>Content for <%= classedName %></p>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user