mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-10-30 13:20:15 +08:00
*ADD* Fallback: Added .jsx suffix support for new components (Resolves newtriks/generator-react-webpack#99)
This commit is contained in:
1 parent
9fd0f0ae54
commit
6b22f18bfc
6 files changed
+83
-51
No files matched your search
@@ -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