I am seeking the internet on how to integrate react-toolbox within a brand new application generated by roc but don't manage to find an answer.
My problem is that I get a syntax error when importing react-toolbox/lib/app_bar:
<pathTo>/node_modules/react-toolbox/lib/ripple/theme.css:1
(function (exports, require, module, __filename, __dirname) { :root {
^
SyntaxError: Unexpected token :
at createScript (vm.js:74:10)
at Object.runInThisContext (vm.js:116:10)
at Module._compile (module.js:533:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (<pathTo>/node_modules/react-toolbox/lib/ripple/index.js:13:14)
Hi,
I am seeking the internet on how to integrate
react-toolbox
within a brand new application generated by roc but don't manage to find an answer. My problem is that I get a syntax error when importingreact-toolbox/lib/app_bar
:In
react-toolbox
it is instructed to add a loader for css modules: https://github.com/react-toolbox/react-toolbox#usage-in-webpack-projects-not-create-react-app but don't manage to find the equivalent with rocCould you help me finding my way out?
Thank you