Project scripts for Rax.


Keywords
kraken, miniapp, rax, react, universal, webpack, weex
License
BSD-3-Clause
Install
npm install rax-scripts@2.0.4

Documentation

English | 简体中文

Downloads Version GitHub license PRs Welcome Gitter

An universal framework based on Rax

Features

  • 🐂 Universal:Support Web/MiniApp/Kraken
  • 🐴 App lifecycle:Provide useS6+、TypeScript、Less、Sass、 CSS Modules,etc
  • 🦊 Routing:Powerful Routing System, supporPageShow、usePageHide etc.
  • 🐒 Engineering:Out of the box support for Ets configured routing and conventions routing
  • 🐯 State management:Built-in icestore, lightweight state management solution based on React Hooks
  • 🐦 Config:Modes and Environment Variables configuration in the config file
  • 🦁 Application configuration:Provide powerful and extensible application configuration
  • 🐌 Plugin system:The plugin system provides rich features and allow the community to build reusable solutions
  • 🐘 TypeScript:Support TypeScript

Quick start

Setup by Iceworks

We recommend creating a new rax app using Iceworks:

demo

See Quick start by Iceworks for more details.

Setup by CLI

Use npm init:

$ npm init rax <project-name>

npm init <initializer> is available in npm 6+

Start local server to launch project:

$ cd <project-name>
$ npm install
$ npm run start # running on http://localhost:3333.

It's as simple as that!

Examples

Ecosystem

Project Version Docs Description
rax rax-status docs Progressive React framework for building universal application
rax-app rax-app-status docs An universal framework based on rax.js
miniapp miniapp-status docs An mordern and high performance miniapp solution based on rax-app
icestore icestore-status docs Simple and friendly state for React like
iceworks iceworks-status docs Visual Intelligent Development Assistant

Community

DingTalk community GitHub issues
issues