-
Notifications
You must be signed in to change notification settings - Fork 548
Description
Question
How to use ReactGo with React-Toolbox?
It seems like it would make sense since react-toolbox was built using CSS Modules vs. Material-UI which was not.
Not super familiar with webpack so not sure how to get passed this one... plus all of the examples react-toolbox has look like webpack v1 and this repo uses webpack v2.
Please help.
Errors follow:
ERROR in ../
/react-toolbox/lib/app_bar/theme.css/react-toolbox/lib/app_bar/index.js 16:13-35
Module parse failed: /Users/jmotacek/Documents/Projects/Cognitive Request Router/node_modules/react-toolbox/lib/app_bar/theme.css Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
| :root {
| --palette-red-50: rgb(255, 235, 238);
| --palette-red-100: rgb(255, 205, 210);
@ ../
@ ./containers/App.jsx
@ ./pages/App.jsx
@ ./pages/index.js
@ ./routes.jsx
@ ../server/render/middleware.js
@ ../server/index.jsERROR in ../
/react-toolbox/lib/navigation/theme.css/react-toolbox/lib/navigation/index.js 18:13-35
Module parse failed: /Users/jmotacek/Documents/Projects/Cognitive Request Router/node_modules/react-toolbox/lib/navigation/theme.css Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
| :root {
| --palette-red-50: rgb(255, 235, 238);
| --palette-red-100: rgb(255, 205, 210);
@ ../
@ ./containers/App.jsx
@ ./pages/App.jsx
@ ./pages/index.js
@ ./routes.jsx
@ ../server/render/middleware.js
@ ../server/index.jsERROR in ../
/react-toolbox/lib/Link/theme.css/react-toolbox/lib/Link/index.js 14:13-35
Module parse failed: /Users/jmotacek/Documents/Projects/Cognitive Request Router/node_modules/react-toolbox/lib/Link/theme.css Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
| :root {
| --palette-red-50: rgb(255, 235, 238);
| --palette-red-100: rgb(255, 205, 210);
@ ../
@ ./containers/App.jsx
@ ./pages/App.jsx
@ ./pages/index.js
@ ./routes.jsx
@ ../server/render/middleware.js
@ ../server/index.jsERROR in ../
/react-toolbox/lib/button/theme.css/react-toolbox/lib/button/index.js 24:13-35
Module parse failed: /Users/jmotacek/Documents/Projects/Cognitive Request Router/node_modules/react-toolbox/lib/button/theme.css Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
| :root {
| --palette-red-50: rgb(255, 235, 238);
| --palette-red-100: rgb(255, 205, 210);
@ ../
@ ../~/react-toolbox/lib/app_bar/index.js
@ ./containers/App.jsx
@ ./pages/App.jsx
@ ./pages/index.js
@ ./routes.jsx
@ ../server/render/middleware.js
@ ../server/index.jsERROR in ../
/react-toolbox/lib/link/theme.css/react-toolbox/lib/link/index.js 14:13-35
Module parse failed: /Users/jmotacek/Documents/Projects/Cognitive Request Router/node_modules/react-toolbox/lib/link/theme.css Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
| :root {
| --palette-red-50: rgb(255, 235, 238);
| --palette-red-100: rgb(255, 205, 210);
@ ../
@ ../~/react-toolbox/lib/navigation/index.js
@ ./containers/App.jsx
@ ./pages/App.jsx
@ ./pages/index.js
@ ./routes.jsx
@ ../server/render/middleware.js
@ ../server/index.jsERROR in ../
/react-toolbox/lib/ripple/theme.css/react-toolbox/lib/ripple/index.js 13:13-35
Module parse failed: /Users/jmotacek/Documents/Projects/Cognitive Request Router/node_modules/react-toolbox/lib/ripple/theme.css Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
| :root {
| --color-divider: var(--palette-grey-200);
| --color-background: var(--color-white);
@ ../
@ ..//react-toolbox/lib/button/index.js/react-toolbox/lib/app_bar/index.js
@ ../
@ ./containers/App.jsx
@ ./pages/App.jsx
@ ./pages/index.js
@ ./routes.jsx
@ ../server/render/middleware.js
@ ../server/index.js