react-template-easily
react-template-easily copied to clipboard
简单易用的react工程化模板,适用于h5,webapp,hybrid开发
Results
2
react-template-easily issues
Sort by
recently updated
recently updated
newest added
## React 迁移 Preact ## 1:安装,`preact` `preact-compat` ` preact-redux` ``` npm install preact preact-compat --save-dev npm install preact-redux --save-dev ``` 2:preact-compat的作用是让我们简单转换升级,只需简单修改代码适配即可 3: 设置 preact-compat 的 Alias,在webpack文件中: ``` resolve: { alias:...