智慧屏安装APP的最佳实践与跨平台小程序开发的结合
792
2022-10-24
Tokopedia React开发套件 - 又一个React框架
Tokopedia React Development Kits (Treats)
Learn more on our documentation.
Getting Started
To get started with Treats, you can simply do the following:
> npm install -g create-treats-app> create-treats-app> cd /YOUR/APP/DIRECTORY> yarn start
You don't need to configure webpack, babel, or any other build tools by yourself
What's in the box?
React, JSX, ES6, and Flow (or TypeScript) syntax support.Preconfigured Redux, GraphQL client and i18n out-of-the-box. (You can disable Redux/GraphQL client if you're not using it, it'll only leave minimum trace in your build)Server-side rendering, code-splitting and hot-module replacement configured out-of-the-box.CSS Modules support with CSS, LESS, or SASS syntax with autoprefixer, or use any CSS-in-JS library that you like!A build script to bundle JS, CSS, images and other medias for production.Built-in code generator so you wouldn't need to wrote another boilerplate codes.Work out of the box with zero configuration for light usage, but easily customizable for power users. Treats is customizable with: Custom Helpers (Server-side)Custom Middlewares (Server-side)Custom React APP, Server App, GraphQL client & Redux Implementation, etcCustom Webpack, Babel & PostCSS Config Filesystem as your API (all entry hooks file and folder are under src/_**)
Requirements
Node > 8.00
Contributors
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind are welcome!
License
Apache 2.0
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~