Rax

The fastest way to build universal application

README

Rax

Rax is a progressive framework for building universal applications.

gzip size



💌 Write Once, Run Anywhere: write one codebase, run with Web, [Weex](https://weex.apache.org/), [Node.js](https://nodejs.org/), Alibaba MiniApp, and WeChat MiniProgram. Rax can be used with additional containers that implement it's driver specification.

Fast: better performance and a tiny size(📦~6KB) when compared to React using the same API.

📤 Easy: quick start with zero configuration, all features like Progressive Web App (PWA), Server-Side Rendering (SSR), and Function as a service (FaaS) can be used out of the box.

Quick Start 🥢🍚


Start from command line


Create a new Rax project using create-rax:

  1. ```sh
  2. $ npm init rax <YourProjectName>
  3. ```
_`npm init ` is available in npm 6+_

Start local server to launch project:

  1. ```sh
  2. $ cd <YourProjectName>
  3. $ npm install
  4. $ npm run start
  5. ```

Start from VS Code


You need to install the AppWorks Pack and invoke theCreate Application command from the VS Code command palette (Ctrl + Shift + P or Cmd + Shift + P on Mac):

vscode

Developer Tools 🛠


You can inspect and modify the state of your Rax components at runtime using the
Rax Developer Tools browser extension,
however the extension will not work in production mode.

1. Install the Chrome Rax Developer Tools extension
2. Reload and go to the 'Rax' tab in the browser's development tools

VS Code Extension


You can use AppWorks Pack to get better development experience.

Awesome Things 📝


You can find some awesome things in awesome-rax.

Contributing 🧼


Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing.

Code Contributors


This project exists thanks to all the people who contribute.

Community support


For general help using Rax, please refer to the official site. For additional help, you can use one of these channels to ask a question:

- GitHub (Bug reports, contributions)
- Twitter (Get the news fast)
- Medium (Get blogs and articles)
- 知乎专栏 (Get blogs and articles in Simplified Chinese)