todo-react-redux icon indicating copy to clipboard operation
todo-react-redux copied to clipboard

Error error

Open AS011 opened this issue 6 years ago • 1 comments

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.

AS011 avatar Apr 21 '18 10:04 AS011

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

Jbonez87 avatar Aug 13 '18 11:08 Jbonez87