DoranYun / rax

[:tada: v1.0 released] The fastest way to build universal application. (快速构建多端应用)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rax

The fastest way to build universal application.

gzip size


🎄 Familiar: React compatible API with Class Component and Hooks.

🍬 Tiny: ~6.4 KB minified + gzipped.

🌏 Universal: works with DOM, Weex, Node.js, Mini-program, WebGL and could work more container that implements driver specification.

🍌 Easy: using via rax-cli with zero configuration, one codebase with universal UI toolkit & APIs.

🍭 Friendly: developer tools for Rax development.

Quick Start

Create a new Rax project using create-rax:

$ npm init rax <YourProjectName>

Start local server to launch project:

$ cd <YourProjectName>
$ npm install
$ npm run start

Developer Tools

You can inspect and modify the state of your Rax components at runtime using the React Developer Tools browser extension.

  1. Install the React Developer Tools extension
  2. Import the "rax/lib/devtools" module in your app
import 'rax/lib/devtools';
  1. Set process.env.NODE_ENV to 'development'
  2. Reload and go to the 'React' tab in the browser's development tools

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.

About

[:tada: v1.0 released] The fastest way to build universal application. (快速构建多端应用)

License:Other


Languages

Language:JavaScript 99.4%Language:Vue 0.3%Language:HTML 0.2%Language:Shell 0.1%Language:CSS 0.0%