摘要:
目录结构: 代码目录: const path = require('path'); const webpack = require("webpack"); const CleanPlugin = require("clean webpack plugin"); const CopyWebpackPl 阅读全文
posted @ 2019-12-23 15:58
鱼池离
阅读(120)
评论(0)
推荐(0)
摘要:
目录结构: 代码: const path = require('path'); const webpack = require("webpack"); let config = require('./webpack.common.js'); config = Object.assign(config 阅读全文
posted @ 2019-12-23 15:57
鱼池离
阅读(297)
评论(0)
推荐(0)
摘要:
目录结构: 代码: const path = require('path'); const webpack = require('webpack'); const HtmlWebpackPlugin = require('html webpack plugin'); const CleanWebpa 阅读全文
posted @ 2019-12-23 15:56
鱼池离
阅读(596)
评论(0)
推荐(0)
摘要:
export const DEFAULT_TITLE = "你好"; // export const PRODUCT_SERVER_URL = "http://10.10.1.12:8080/lottery/api"; // export const DEV_SERVER_URL = "http:/ 阅读全文
posted @ 2019-12-23 15:46
鱼池离
阅读(277)
评论(0)
推荐(0)
摘要:
import 'whatwg fetch'; import 'es6 promise'; require('es6 promise').polyfill(); import as common from 'common/common.js'; function checkStatus(respons 阅读全文
posted @ 2019-12-23 15:38
鱼池离
阅读(160)
评论(0)
推荐(0)
摘要:
目录结构: 用到缓存的地方: 缓存的方法 清楚缓存 阅读全文
posted @ 2019-12-23 15:13
鱼池离
阅读(466)
评论(0)
推荐(0)