React框架搭建但页面应用package.json基本包和依赖包

Posted 诗酒明月

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了React框架搭建但页面应用package.json基本包和依赖包相关的知识,希望对你有一定的参考价值。

{
  //依赖包
"devDependencies": {
  //babel
"babel-core": "6.24.1", "babel-loader": "7.0.0", "babel-preset-es2015": "6.24.1", "babel-preset-react": "6.24.1", "babel-preset-stage-0": "6.24.1",
  //css & sass
"css-loader": "0.28.0", "node-sass": "4.5.2", "postcss-loader": "^2.0.5", //自动添加css前缀,自动考虑兼容性 "sass-loader": "6.0.3", "style-loader": "0.17.0",
  //webpack 和 webpack-dev-server
"webpack": "2.4.1", "webpack-dev-server": "2.4.5" }, "dependencies": {
  //要用es2016更高级的功能,babel必须引用包
"babel-polyfill": "^6.23.0",
  //密码加密包
"md5": "2.2.1",
  //React radux router
"react": "15.5.4", "react-dom": "15.5.4", "react-redux": "4.4.6", "react-router": "3.0.0", "react-router-redux": "4.0.7", "redux": "3.6.0" } }

 








以上是关于React框架搭建但页面应用package.json基本包和依赖包的主要内容,如果未能解决你的问题,请参考以下文章

Electron+React 快速搭建一个桌面应用

搭建React环境

客户端高性能组件化框架React简介特点环境搭建及常用语法

react项目的搭建

React项目框架搭建(CRA版本搭建)一

基于react-appwebpack4一步步搭建可生产的react框架****demo有详细翻译注释说明****