todo-react-redux
todo-react-redux copied to clipboard
Error error
Module parse failed: Unexpected token (11:4) You may need an appropriate loader to handle this file type. | const scssClasses = classNames('btn', className); | return ( | <button className={scssClasses} onClick={onClick} type={type}> | {children} |
I have written the same code but this error shows up and is not getting resolved.Please help.
Have you tried adding node-sass-chokidar? Here's the recommended way to add sass to create-react-app: https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-a-css-preprocessor-sass-less-etc