1

正如 este wiki 中推荐的那样,我想使用 react-toolbox 在材料设计中创建组件。我已经用 npm 安装了 react-toolbox。尝试使用按钮时出现此错误。

ERROR in ./~/css-loader!./~/postcss-loader!./~/react-toolbox/lib/button/theme.css
Module build failed: Error: No PostCSS Config found in: /home/alenka/Documents/bakalárka/esteDir/este/node_modules/react-toolbox/lib/button
    at Error (native)
    at /home/alenka/Documents/bakalárka/esteDir/este/node_modules/postcss-load-config/index.js:51:26
 @ ./~/react-toolbox/lib/button/theme.css 4:14-100 13:2-17:4 14:20-106
 @ ./~/react-toolbox/lib/button/index.js
 @ ./src/browser/home/HomePage.js
 @ ./src/browser/app/routeConfig.js
 @ ./src/browser/app/Root.js
 @ ./src/browser/main.js
 @ ./src/browser/index.js
 @ multi webpack-hot-middleware/client?path=http://192.168.1.41:8080/__webpack_hmr ./src/browser/index.js
ERROR in ./~/css-loader!./~/postcss-loader!./~/react-toolbox/lib/ripple/theme.css
Module build failed: Error: No PostCSS Config found in: /home/alenka/Documents/bakalárka/esteDir/este/node_modules/react-toolbox/lib/ripple
    at Error (native)
    at /home/alenka/Documents/bakalárka/esteDir/este/node_modules/postcss-load-config/index.js:51:26
 @ ./~/react-toolbox/lib/ripple/theme.css 4:14-100 13:2-17:4 14:20-106
 @ ./~/react-toolbox/lib/ripple/index.js
 @ ./~/react-toolbox/lib/button/index.js
 @ ./src/browser/home/HomePage.js
 @ ./src/browser/app/routeConfig.js
 @ ./src/browser/app/Root.js
 @ ./src/browser/main.js
 @ ./src/browser/index.js
 @ multi webpack-hot-middleware/client?path=http://192.168.1.41:8080/__webpack_hmr ./src/browser/index.js

有人可以帮我吗?

4

0 回答 0