Browse Source

全局样式调整

hexiao 1 year ago
parent
commit
caec296a44
3 changed files with 1393 additions and 146 deletions
  1. 1 1
      config/index.js
  2. 1390 145
      package-lock.json
  3. 2 0
      package.json

+ 1 - 1
config/index.js

@@ -22,7 +22,7 @@ module.exports = {
     },
 
     // Various Dev Server settings
-    host: '0.0.0.0', // can be overwritten by process.env.HOST
+    host: 'localhost', // can be overwritten by process.env.HOST
     port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
     autoOpenBrowser: false,
     errorOverlay: true,

File diff suppressed because it is too large
+ 1390 - 145
package-lock.json


+ 2 - 0
package.json

@@ -66,6 +66,7 @@
     "friendly-errors-webpack-plugin": "~1.7.0",
     "html-webpack-plugin": "~2.30.1",
     "node-notifier": "~5.4.0",
+    "node-sass": "^4.14.1",
     "optimize-css-assets-webpack-plugin": "~3.2.1",
     "ora": "~1.4.0",
     "portfinder": "~1.0.21",
@@ -73,6 +74,7 @@
     "postcss-loader": "~2.1.6",
     "postcss-url": "~7.3.2",
     "rimraf": "~2.6.3",
+    "sass-loader": "^7.3.1",
     "semver": "~5.7.0",
     "shelljs": "~0.7.8",
     "uglifyjs-webpack-plugin": "~1.3.0",