RIS, React Integrated Solution. RIS's target is to provide a basic build solution that high scalability. Through this toolset we focus on output some best practice about react.
npx create-ris ris-app
cd ris-app
npm start(npx comes with npm 5.2+ and higher, see instructions for older npm versions)
- ✔︎ Out of the box, with empty application and standard application which built-in react, react-router, etc.
- ✔︎ High scalability, can highly customize your application and build configuration.
- ✔︎ Ultimate development experience, with dll to speed up build process, with tools to add component, pages quickly.
- ✔︎ High performance, code-splitting our app with react-loadable.
- ✔︎ Predictable state management,built-in xredux which well handle data flow problem.
- ✔︎ Powerful data mock, mock data in development conveniently.
You’ll need to have Node 8.9.0 or later on your local development machine. You can use nvm (macOS/Linux) or nvm-windows to easily switch Node versions between different projects.
You can init a application as following ways:
npx create-ris <appName>(npx comes with npm 5.2+ and higher, see instructions for older npm versions)
npm init ris <appName>
npm initis available in npm 6+
yarn create ris <appName>
yarn createis available in Yarn 0.25+
Inside the application, you can run following scripts:
Startup the application in development mode. You can open http://localhost:3000 to view it in the browser.
Add page and component quickly. You can highly customize the template of page and component in the tools/generators.
Build the application in production mode. It will default build to the build folder.
Built-in empty and standard application. You can use create-ris to create a applicatioin to experience.
More:
- Enterprise, An enterprise-level appliction that built-in ant-design.
- Mobile, A mobile web appliction that integrate excellent solutions.
Learn more about the details and instructions, you can read about UserGuide.
To create this tools, something is referenced create-react-app and react-boilerplate. Thanks a lot for many good ideas.
MIT