All Projects → easy-team → easywebpack-react

easy-team / easywebpack-react

Licence: MIT license
React Webpack Building Solution, Support React Server Side Render (SSR), Client Side Render (CSR) Building

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to easywebpack-react

react-hot-loader-starter-kit
react 16, redux 5, react router 4, universal, webpack 3
Stars: ✭ 41 (+192.86%)
Mutual labels:  hot-reload, hot-module-replacement
vue-hot-reload-loader
Enable hot module replacement (HMR) on your Vue components
Stars: ✭ 20 (+42.86%)
Mutual labels:  hot-reload, hot-module-replacement
universal-hot-reload
Hot reload client and server webpack bundles for the ultimate development experience
Stars: ✭ 79 (+464.29%)
Mutual labels:  hot-reload, hot-module-replacement
isomorphic-react-redux-saga-ssr
Isomorphic, React, Redux, Saga, Server Side rendering, Hot Module Reloading, Ducks, Code Splitting
Stars: ✭ 19 (+35.71%)
Mutual labels:  react-redux, hot-module-replacement
minimal-hapi-react-webpack
Minimal Hapi + React + Webpack + HMR (hot module reloading) Sandbox
Stars: ✭ 55 (+292.86%)
Mutual labels:  hot-reload, hot-module-replacement
V2 Universal Js Hmr Ssr React Redux
⚡ (V2) Universal JS - Server Side Rendering, Code Splitting and Hot Module Reloading ⚡
Stars: ✭ 147 (+950%)
Mutual labels:  react-redux, hot-reload
semantic-ui-react-todos
The ReactJS/Redux Todo List Example with Semantic UI Components
Stars: ✭ 96 (+585.71%)
Mutual labels:  react-redux
ultimate-hot-boilerplate
🚀 node-react universal app boilerplate with everything on hot reload, SSR, GraphQL, Flow included
Stars: ✭ 35 (+150%)
Mutual labels:  hot-reload
Pokedex
List of pokémon with live search
Stars: ✭ 236 (+1585.71%)
Mutual labels:  react-redux
Ssr
React Server-Side Rendering Example
Stars: ✭ 226 (+1514.29%)
Mutual labels:  react-redux
rematch
The Redux Framework
Stars: ✭ 8,340 (+59471.43%)
Mutual labels:  react-redux
dwoole
⚙️ Docker image for Swoole apps with Composer, auto-restart on development and a production-ready version.
Stars: ✭ 32 (+128.57%)
Mutual labels:  hot-reload
The-Complete-Redux-Book
Перевод книги The Complete Redux Book
Stars: ✭ 49 (+250%)
Mutual labels:  react-redux
fetch-action-creator
Fetches using standardized, four-part asynchronous actions for redux-thunk.
Stars: ✭ 28 (+100%)
Mutual labels:  react-redux
role-based-access-control
Role-based authorization || Role-based access-control in React.js
Stars: ✭ 111 (+692.86%)
Mutual labels:  react-redux
React Sight
Visualization tool for React, with support for Fiber, Router (v4), and Redux
Stars: ✭ 2,716 (+19300%)
Mutual labels:  react-redux
spring-boot-react-ecommerce-app
eCommerce application based on the microservices architecture built using Spring Boot and ReactJS.
Stars: ✭ 221 (+1478.57%)
Mutual labels:  react-redux
promotion-web
基于React: v18.x.x/Webpack: v5.x.x/React Router v6.x.x/ Antd: v5..x.x/Fetch Api/ Typescript: v4.x.x 等最新版本进行构建...
Stars: ✭ 374 (+2571.43%)
Mutual labels:  react-redux
fetchye
✨ If you know how to use Fetch, you know how to use Fetchye [fetch-yae]. Simple React Hooks, Centralized Cache, Infinitely Extensible.
Stars: ✭ 36 (+157.14%)
Mutual labels:  react-redux
react-imago3d
WebVr Environment editor
Stars: ✭ 17 (+21.43%)
Mutual labels:  react-redux

easywebpack-react

NPM version build status Test coverage David deps Known Vulnerabilities npm download

React client render and server side render build solution for Webpack

Featues

  • ✔︎ React Client Render and Server Side Render Build Mode
  • ✔︎ React Single Appliaction and React Mutil Appliaction Build Mode
  • ✔︎ Hot Reload, Css Hot Reload, Code Splitting, High Speed, Cache Build, Thread Build
  • ✔︎ ES5/ES6/ES7, TypeScript, DLL, Css Module, Dynamic Import, AntD Dynamic Import
  • ✔︎ Powerful Tool Chain easywebpack-cli

Version

  • @easy-team/easywebpack-react ^4.x.x > Webpack 4.x.x + Babel 7
  • easywebpack-react ^4.x.x > Webpack 4.x.x + Babel 6
  • easywebpack-react ^3.x.x > Webpack 3.x.x + Babel 6

Documents

Install

$ npm i @easy-team/easywebpack-react --save-dev

QuickStart

  • Install Command Line
$ npm i @easy-team/easywebpack-cli -g 
  • Initalize Application
$ easy init
  • Running Application
$ npm start

Configuration

Write Webpack Config webpack.config.js

const easywebpack = require('@easy-team/easywebpack-react');
const webpack = easywebpack.webpack;
const merge = easywebpack.merge;
const webpackConfig = easywebpack.getWebpackConfig({
    env, // support dev, test, prod 
    target : 'web', // browser mode build
    entry:{
      app: 'src/index.js'
    },
    customize(webpackConfig) {
      // ... customize webpack config
      return webpackConfig;
    }
});

Webpack Build

easy build --webpack

OR

webpack --config webpack.config.js

Application Development & Building

const webpackConfig = require('./webpack.config.js');
const easywebpack = require('@easy-team/easywebpack-react');
const webpackTool = new WebpackTool();
// development mode
easywebpack.server(webpackConfig);
// build file to disk
easywebpack.build(webpackConfig);

Example

Questions & Suggestions

Please open an issue here.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].