Taro Advanced

aro 代码与小程序代码混写

https://nervjs.github.io/taro/docs/hybrid.html

https://github.com/NervJS/taro-sample-weapp

https://github.com/NervJS/taro-sample-weapp/blob/master/src/pages/native/native.js


https://github.com/NervJS/taro-sample-weapp/blob/master/src/pages/echarts/echarts.js


使用小程序原生第三方组件和插件

https://nervjs.github.io/taro/docs/mini-third-party.html

基于 Taro 开发第三方多端 UI 库

https://nervjs.github.io/taro/docs/ui-lib.html

https://github.com/NervJS/taro-ui-sample

Templates for taro init

https://nervjs.github.io/taro/docs/template.html

https://github.com/NervJS/taro-project-templates

redux

https://github.com/NervJS/taro-project-templates/blob/master/redux/src/store/index.js

小程序统计平台

https://doc.aldwx.com/mini-program


redux

https://nervjs.github.io/taro/docs/redux.html

https://github.com/NervJS/taro-redux-sample

https://react-redux.js.org/api/hooks#using-memoizing-selectors

# yarn
$ yarn add redux @tarojs/redux @tarojs/redux-h5 redux-thunk redux-logger # npm
$ npm i -S redux @tarojs/redux @tarojs/redux-h5 redux-thunk redux-logger

使用 CSS Modules

https://nervjs.github.io/taro/docs/css-modules.html

https://github.com/css-modules/css-modules

推荐使用自定义转换模式

// 组件样式

.test {
color: red;
.txt {
font-size: 36px;
}
}
// 组件 JS 中使用样式

import Taro, { Component } from '@tarojs/taro'
import { View, Text } from '@tarojs/components' import styles from './Test.module.scss' export default class Test extends Component {
constructor(props) {
super(props)
this.state = { }
} render () {
return (
<View className={styles.test}>
<Text className={styles.txt}>Hello world!</Text>
</View>
)
}
}

Taro Advanced的更多相关文章

  1. 获取文件的缩略图Thumbnail和通过 AQS - Advanced Query Syntax 搜索本地文件

    演示如何获取文件的缩略图 FileSystem/ThumbnailAccess.xaml <Page x:Class="XamlDemo.FileSystem.ThumbnailAcc ...

  2. ARM概论(Advanced RISC Machines)

    简介 ARM7是32 位通用微处理器ARM(Advanced RISC Machines)家族中的一员,具有比较低的电源消耗和良好的性价比, 基于(精简指令)RISC结构,指令集和相关的译码机制与微程 ...

  3. The World's Only Advanced Operating System

    The World's Only Advanced Operating System

  4. Advanced Office Password Recovery如何设置快捷方式

    一般软件安装成功之后都会在桌面上形成快捷方式以方便使用,但是一些用户发现Advanced Office Password Recovery这种office密码破解工具安装成功后桌面上没有出现快捷方式, ...

  5. Advanced Office Password Recovery安装后显示是英文版的

    一些才开始接触Advanced Office Password Recovery(即AOPR)的朋友,在安装Advanced Office Password Recovery的时候可能发现Advanc ...

  6. 用Advanced Installer制作DotNetBar for Windows Forms 12.0.0.1_冰河之刃重打包版详解

    关于 DotNetBar for Windows Forms 12.0.0.1_冰河之刃重打包版 --------------------11.8.0.8_冰河之刃重打包版-------------- ...

  7. Advanced Collection Views and Building Custom Layouts

    Advanced Collection Views and Building Custom Layouts UICollectionView的结构回顾 首先回顾一下Collection View的构成 ...

  8. 2014-2015 ACM-ICPC, NEERC, Moscow Subregional Contest A. Advanced 2048

    A. Advanced 2048 time limit per test 2 seconds memory limit per test 256 megabytes input standard in ...

  9. Advanced REST client

    好用的测试工具,老是忘记名字chrome插件 Advanced REST client

随机推荐

  1. (转载)微软数据挖掘算法:Microsoft 关联规则分析算法(7)

    前言 本篇继续我们的微软挖掘算法系列总结,前几篇我们分别介绍了:微软数据挖掘算法:Microsoft 决策树分析算法(1).微软数据挖掘算法:Microsoft 聚类分析算法(2).微软数据挖掘算法: ...

  2. 本地代码上传GitHub

    0. 登录 git config --global user.name "GitHub用户名" git config --global user.email "GitHu ...

  3. CSS定位走一波(定位学习续)

    又是新的一周过去了,时间到了,春天绿了,关于HTML5的学习进步了,今天博客更新一些CSS定位的内容,小的一些细节也要牢记,方便做一个更完美的项目. 如何让垂直方向居中,解决方式:在父元素添加over ...

  4. dedecms织梦的安全问题解决办法

    很多新手用户在使用织梦CMS程序过程中,难免会碰到挂马中毒现象,所以事先我们要对网站及服务器安全做好预防备份处理. 织梦作为国内第一大开源免费CMS程序,无疑是很多HACK研究的对象,在本身不安全的互 ...

  5. cassandra权威指南读书笔记--引言概要

    数据库事务正确执行的四个基本要素事务要有四个基本要素:ACID:原子性(Atomic).一致性(Consistent).隔离性(Isolated).持久性(Durable)原子性(Atomic):整个 ...

  6. Java排序算法(二)选择排序

    一.测试类SortTest import java.util.Arrays; public class SortTest { private static final int L = 20; publ ...

  7. CF Hello2020 D. New Year and Conference

    D. New Year and Conference 题意 有\(2n\)个区间,分别为\([sa_1,ea_1],[sb_1,eb_1],[sa_2,ea_2],[sb_2,eb_2],\cdots ...

  8. AcWing 216 Rainbow 的信号

    题意 给定一个长度为n的序列,然后从\(1\sim N\) 这 N 个数中选取两个数\(l,r\) , 如果\(l>r\),则交换\(l,r\).把第\(l\) 个数到第\(r\)个数取出来构成 ...

  9. hdu4325 Flowers

    Problem Description As is known to all, the blooming time and duration varies between different kind ...

  10. L3-007 天梯地图 (30分) 最短路+dp

    最短路+dp思路:nuoyanli 520 Let's play computer game 输入样例1: 10 15 0 1 0 1 1 8 0 0 1 1 4 8 1 1 1 5 4 0 2 3 ...