webpack4 + react + react-bootstrap + bootstrp配置及使用(附源码)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Altaba/article/details/80249783

欢迎来到Altaba的博客  2018年5月9日

首先附上package.json配置信息

{
  "name": "webpack4",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "dev": "webpack --mode development",
    "build": "webpack --mode production",
    "wds": "webpack-dev-server --mode development --output-public-path dist"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "@babel/core": "^7.0.0-beta.42",
    "@babel/preset-react": "^7.0.0-beta.42",
    "babel-core": "^6.26.0",
    "babel-loader": "^8.0.0-beta.2",
    "babel-preset-env": "^1.6.1",
    "babel-preset-react": "^6.24.1",
    "css-loader": "^0.28.11",
    "file-loader": "^1.1.11",
    "node-sass": "^4.8.3",
    "react": "^16.3.1",
    "react-dom": "^16.3.1",
    "sass-loader": "^7.0.1",
    "semantic-ui-css": "^2.3.1",
    "semantic-ui-react": "^0.79.1",
    "style-loader": "^0.20.3",
    "url-loader": "^1.0.1",
    "webpack": "^4.2.0",
    "webpack-cli": "^2.0.13",
    "webpack-dev-server": "^3.1.1"
  },
  "dependencies": {
    "bootstrap": "^3.3.7",
    "normalize.css": "^8.0.0",
    "react-bootstrap": "^0.32.1"
  }
}
朋友们:需要源码请留言
阅读更多
换一批

没有更多推荐了,返回首页