🔧 build(iconfont): 新增taro-iconfont-cli 依赖

This commit is contained in:
2022-09-08 12:02:53 +08:00
committed by xuan
parent 2a964829b4
commit 7a8397e44b
93 changed files with 2596 additions and 17 deletions
+4 -2
View File
@@ -1,6 +1,7 @@
import { isEmptyObject } from '@/common/common'
import { Button, View } from '@tarojs/components'
import { FC, memo, useState } from 'react'
import IconFont from '../components/iconfont'
import styles from './index.module.scss'
const SonComp: FC = memo(() => {
return <View className=''>我改变了吗{new Date().getTime()}</View>
@@ -25,10 +26,11 @@ const User = () => {
return (
<>
<View className={styles['main']}>
<UserInfo/>
sdfasdfasdf {count}
<UserInfo />
sdfasdfasdf {count}
<Button onClick={handleCount}>+1</Button>
<SonComp />
<IconFont name='icon-fahuoliebiao' />
</View>
</>
)