MandarinConLaBarba / react-tree-menu

A stateless tree menu component for React.
http://mandarinconlabarba.github.io/react-tree-menu/example/index.html
MIT License
170 stars 51 forks source link

Module parse failed #37

Open jmargolisvt opened 6 years ago

jmargolisvt commented 6 years ago

Trying this package out, won't load. I have dozens of other node modules working correctly in my project, so it's not a webpack issue. Any ideas?

./node_modules/react-tree-menu/src/TreeMenu.jsx
Module parse failed: Unexpected token (57:6)You may need an appropriate loader to handle this file type.
||     return (
|       <div className={props.classNamePrefix}>|         {this._getTreeNodes()}
|       </div>);
alex-malyita commented 5 years ago

https://github.com/MandarinConLaBarba/react-tree-menu/issues/23