Skip to content
/ remax Public
forked from remaxjs/remax

Remax is just React for your mini program

License

Notifications You must be signed in to change notification settings

stickmy/remax

 
 

Repository files navigation

remax

开发中

DEMO

gh_ff59cad25cf9_258

Remax

让你在小程序开发中使用真正的 React,完整的 JSX 甚至是最新的 Hooks API。而不是使用受到各种限制的 JSX(其实是模板)翻译成小程序模板。

当前还在开发中,暂时无法用于生产环境。

Why Remax

remax-miniapp

remax 允许你使用 React 的和前端工程化的全部能力进行微信小程序的开发,包括最新的 React Hooks 和 CSS Modules 等特性,上图是对于 WeUI 的 navbar 组件的两种实现对比,具体代码可见:

快速开始

git clone https://github.com/CodeFalling/remax
cd remax

# 安装 yarn
yarn install -g yarn

# 安装依赖
yarn run bootstrap
# 构建
yarn run build
# 运行 demo
yarn run start:demo

登录微信开发者工具,新建项目,选择 remax/pacakges/@remax/demo/dist 目录,就能看到 DEMO 小程序

About

Remax is just React for your mini program

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 64.1%
  • JavaScript 23.3%
  • TypeScript 10.7%
  • HTML 1.9%