在 react-native 应用程序上安装 react-toolbox

react-toolbox installation on a react-native app

当我在 React Native 应用程序上使用安装命令 (npm install --save react-toolbox) 时,出现以下错误:

── UNMET PEER DEPENDENCY normalize.css@^4.0.0
├── UNMET PEER DEPENDENCY react-addons-css-transition-group@^0.14.0 || ^15.0.1
├── UNMET PEER DEPENDENCY react-dom@^0.14.0 || ^15.0.1
└─┬ react-toolbox@1.0.1 
  ├── classnames@2.2.5 
  ├── core-js@2.4.0 
  └── react-css-themr@1.1.3 

是否可以在 react-native 应用程序上安装工具箱?

目前,React 工具箱不支持 React Native。

javivelasco (React toolbox contributor) : That would be awesome but for now I think it's quite difficult to port all of this to React Native. Since we are using CSS modules we are also using features that cannot be directly ported to native components. For the javascript maybe we can create factories to inject native or web elements but the styling approach is way more difficult. So for now we are going to make styles fully responsive so we can mobile friendly web apps and let's see in the future what can be figure out with native!

来源:https://github.com/react-toolbox/react-toolbox/issues/40