Git Product home page Git Product logo

taro-pro's Introduction

跨端小程序框架

配套

框架:Taro V3.3.10
UI:Taro UI
状态管理:Mobx V6+
路由:React-router

全局安装 taro-cli 脚手架

# 使用 npm 安装 CLI
$ npm install -g @tarojs/cli

# OR 使用 yarn 安装 CLI
$ yarn global add @tarojs/cli

# OR 安装了 cnpm,使用 cnpm 安装 CLI
$ cnpm install -g @tarojs/cli

查看版本

npm info @tarojs/cli

安装

# clone项目(default master)
$ git clone https://github.com/rrr5t6y7/taro-pro.git

# 进入项目根目录
$ cd taro-pro

# 使用 yarn 安装依赖
$ yarn

# OR 使用 cnpm 安装依赖
$ cnpm install

# OR 使用 npm 安装依赖
$ npm install

快速启动

# 微信小程序
$ yarn dev:weapp & npm run dev:weapp

# 字节跳动小程序
$ yarn dev:tt & npm run dev:tt

# 支付宝小程序
$ yarn dev:alipay & npm run dev:alipay

# 同时启动微信和字节
$ yarn dev:all & npm run dev:all

# 更多请查看pkg
$ -

其他

接口(支持 async/await)

数据可通过 useState、useReducer 或者 mobx 操作

无 ts

taro-pro's People

Watchers

jj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.