1.0.2 • Published 4 years ago

lt-weapp-components v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

lt-weapp-components

安装

npm:

npm install lt-weapp-components --save

yarn:

yarn add lt-weapp-components --save

使用

  1. 在小程序开发工具栏选择工具-->构建npm,构建成功后,会在项目中生成miniprogram_npm目录,里面包含了我们安装的npm

  2. 在小程序开发工具本地设置中勾选使用npm模块

  3. 引入模块:

{
	"usingComponents": {
		"lt-icon":"/miniprogram_npm/lt-weapp-components/lt-icon/lt-icon"
	}
}