Giter Site home page Giter Site logo

inier / taro-mortgage-calculator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wuba/taro-mortgage-calculator

0.0 0.0 0.0 7.35 MB

首个 Taro 3 多端统一实例 - 支持 React Native,Weapp,H5。

Home Page: https://wuba.github.io/Taro-Mortgage-Calculator

License: MIT License

JavaScript 2.70% TypeScript 80.43% HTML 0.86% SCSS 16.01%

taro-mortgage-calculator's Introduction

Mortgage-Calculator

Taro 3 - MortgageCalculator

从左到右:React Native、Weapp、H5

基于Taro 3开发的多端(React Native、Weapp、H5)实例

开发React Native, 推荐阅读React Native 端开发流程React Native 端开发前注意

项目介绍

目录结构:

├── config
├── global.d.ts
├── metro.config.js // Taro 3 RN metro 配置文件
├── package.json
├── project.config.json
├── src
│   ├── app.config.ts
│   ├── app.rn.scss // 针对RN的单独样式
│   ├── app.scss
│   ├── app.ts
│   ├── assets
│   ├── components // 封装的一些多端组件
│   ├── index.html
│   ├── pages
│   └── utils
├── tsconfig.json
└── yarn.lock

此项目旨在为Taro 3开发多端应用提供一个可参考的案例,封装一些支持多端的组件,提供一份开发多端应用的思路、技巧,能够快速上手开发

在线预览

React Native 小程序 H5
安卓:taroDemo.apk
IOS:taroDemo.app(IOS模拟器包)

https://wuba.github.io/Taro-Mortgage-Calculator

使用 Taro Playground 预览

  1. 下载安装 Taro Playground
  2. 本地运行 yarn dev:rn,打印二维码。或者打开releases页面。
  3. 使用 APP 扫描二维码加载 bundle,进行预览。

本地运行

  # clone到本地
  git clone https://github.com/wuba/Taro-Mortgage-Calculator.git
  
  # 进去项目根目录
  cd Taro-Mortgage-Calculator
  
  # 安装依赖
  yarn
  
  # 运行RN 默认端口8081
  yarn dev:rn

  # 运行微信小程序
  yarn dev:weapp

  # 运行H5
  yarn dev:h5

License

MIT

taro-mortgage-calculator's People

Contributors

chelestewang avatar dependabot[bot] avatar qiuziz avatar zhiqingchen 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.