Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>extention for taroNew to Visual Studio Code? Get it now.

extention for taro

wangzk

|
817 installs
| (1) | Free
taro插件,创建taro js文件,以及代码片段
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

extention-for-taro README

这个插件主要是用来创建taro page,生成代码片段

Features

右键点击目录,点击 create taro page 即可生成,并会在src/app.js的page字段中自动加入文件路径

代码片段:

map

arr.map((item,index)=>{
	return ()
})

swiper

<Swiper
 className='test-h'
 indicatorColor='#999'
 indicatorActiveColor='#333'
 vertical
 circular
 indicatorDots
 autoplay>
	<SwiperItem>
	<View className='demo-text-1'>1</View>
   </SwiperItem>
</Swiper>
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft