🏠 Homepage
A enterprise react micro app bootstrap framework.
尝试打造一款企业级的React轻量前端微服务脚手架
Please ensure your have the environments that like following requirements, to improve your effect when using Nuwa.
node >= 12.22.1
npm >= 6.14.12
npm install nuwa-boot -g
You'd best to install Nuwa in global when developing mode, it is easy to build all your apps including sub apps.
npm install nuwa-boot --save-dev
When need to build app for production , to install Nuwa to your local denpendency.
Create a nuwa.config.js
in your project root directory, it can configuature some awesome features when your working.
// nuwa.config.js
modules.exports = {
title: 'First nuwa app',
port: 4000,
}
And then run command nuwa-root -c ./nuwa.config.js
, the app will start at http://localhost:4000
by default.
Command | Full Command | Description |
---|---|---|
-c | --config | Start with a nuwa config |
Name | Default | Description |
---|---|---|
Port | 4000 | Webpack dev server port |
jyjin 金建业
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Give a ⭐️ if this project helped you!