上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 83 下一页
摘要: npm install --save-dev babel-plugin-transform-decorators-legacy 然后在node_modules/babel-preset-react-app/create.js plugins中添加 require.resolve('babel-plugin-transform-decorators-legacy') babel 为7.... 阅读全文
posted @ 2018-08-15 08:38 winyh 阅读(1435) 评论(0) 推荐(0)
摘要: 前端性能与异常上报概述 window.onerror = function(errorMessage, scriptURI, lineNo, columNo, error){ console.log('errorMessage:'+errorMessage); console.log('script 阅读全文
posted @ 2018-07-30 11:42 winyh 阅读(5220) 评论(1) 推荐(1)
摘要: 从零配置webpack4.0 搭建React工程。 基本环境:Node(v8.1.2)+ webpack(v4.16.2) 1.在项目目录 命令窗口 执行 npm init 初始化项目,执行完后项目根目录会生成package.json文件。 2.安装项目依赖 react react-dom reac 阅读全文
posted @ 2018-07-23 16:30 winyh 阅读(797) 评论(0) 推荐(0)
摘要: 详细解说——webpack增量打包多页应用 阅读全文
posted @ 2018-07-19 09:35 winyh 阅读(1264) 评论(0) 推荐(0)
摘要: 打包,函数导出(模块化) 阅读全文
posted @ 2018-07-16 16:45 winyh 阅读(155) 评论(0) 推荐(0)
上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 83 下一页