Skip to content

How to use ReactGo with React-Toolbox? #839

@Cleanshooter

Description

@Cleanshooter

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
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);
@ ../
/react-toolbox/lib/app_bar/index.js 16:13-35
@ ./containers/App.jsx
@ ./pages/App.jsx
@ ./pages/index.js
@ ./routes.jsx
@ ../server/render/middleware.js
@ ../server/index.js

ERROR in ..//react-toolbox/lib/navigation/theme.css
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);
@ ../
/react-toolbox/lib/navigation/index.js 18:13-35
@ ./containers/App.jsx
@ ./pages/App.jsx
@ ./pages/index.js
@ ./routes.jsx
@ ../server/render/middleware.js
@ ../server/index.js

ERROR in ..//react-toolbox/lib/Link/theme.css
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/Link/index.js 14:13-35
@ ./containers/App.jsx
@ ./pages/App.jsx
@ ./pages/index.js
@ ./routes.jsx
@ ../server/render/middleware.js
@ ../server/index.js

ERROR in ..//react-toolbox/lib/button/theme.css
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/button/index.js 24:13-35
@ ../~/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

ERROR in ..//react-toolbox/lib/link/theme.css
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/link/index.js 14:13-35
@ ../~/react-toolbox/lib/navigation/index.js
@ ./containers/App.jsx
@ ./pages/App.jsx
@ ./pages/index.js
@ ./routes.jsx
@ ../server/render/middleware.js
@ ../server/index.js

ERROR in ..//react-toolbox/lib/ripple/theme.css
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/ripple/index.js 13:13-35
@ ..//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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions