:tada: 这是一个包含 Redux 和 SSR 等集成的 MERN 堆栈的模板 :tada:
MERN-BoilerPlate
This is boilerplate for MERN stack with integrations like Redux and SSR
mern.jsonClone the project
Install the Dependencies
$ npm i$ npm run server:devYou can add addons for this project by simply editing the mern.json and then running npm run develop
mern.json{
"styles": "none",
"stateManager": "none"
}For adding styles
"styles": "styled-components" for styled-components"styles": "css-modules" for css-modules using webpackFor adding state manager
"stateManager": "redux" for redux storeRun npm run develop or yarn develop after changing mern.json
You can check the scripts folder for the implementation of these. Can even add your own addons.
Try to replicat how the other addons are build
Soon gonna add plugin system in this project, then it will be much simpler to create own plugins which can do different stuffs like SSR with store injections, managing webpack.config.js.
That will be the main feature for v2
More addons are coming soon.
these addons should be added before you start editing or working on this project
$ npm run watchand, start making changes in src/client and src/server folders.
$ npm run server:prod$ npm i -g @buildtip/create-web-app
$ cwa
And then on question no. 4 that is Please Select Project Stack [ Required ] : Type: 1
Look for the config/index.js for making changes in the configs of the project
Edit the src/client/index.js to make changes for client
Edit the src/server/index.js to make changes in the server
mern.jsonstate-manager
styles
Thanks goes to these wonderful people (emoji key):
Anix ⚠️
przemwierzbicki ⚠️
Anmol Varma ⚠️
Fasoro-Joseph Alexander ⚠️
Yash Pahalajani
GT Deng
wincentrtz
elsonlim ⚠️
jeffin sam
This project follows the all-contributors specification. Contributions of any kind welcome!
暂无开放 Issues,或尚未同步最近议题。