1.1.0-beta-1.0.0 • Published 3 years ago

nuwa-boot v1.1.0-beta-1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

🏠 Homepage

A enterprise react micro app bootstrap framework.

尝试打造一款企业级的React轻量前端微服务脚手架

Requirements

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

Installation

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.

Usage

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.

Configuration

Nuwa-boot Cli

CommandFull CommandDescription
-c--configStart with a nuwa config

Nuwa Config API

NameDefaultDescription
Port4000Webpack dev server port

👤 Author

jyjin 金建业

🤝 Contributing

Contributions, issues and feature requests are welcome!Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!