Socket
Book a DemoInstallSign in
Socket

lw-wxapp-lui

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lw-wxapp-lui

高质量微信小程序 UI 组件库

latest
npmnpm
Version
1.6.4
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

wxapp-lui

一套高质量的微信小程序 UI 组件库

如何使用

  • 添加需要的组件。在页面的 json 中配置(路径根据自己项目位置配置):
"usingComponents": {
    "x-button": "../../dist/button/index"
}
  • 在 wxml 中使用组件:
<x-button type="primary" bind:click="handleClick">这是一个按钮</x-button>

3、 项目当中同步本地wxapp-lui改动方式,以ucar-master-frontend为例: 1) ucar-master-frontend 需保持在 npm run dev 中, 方能保持webpack插件监听本地wxapp-lui文件是否有改动 2) 在 wxapp-lui下,进行组件进行改动后,执行npm run build,将修改构建在dist目录下 3) wxapp-lui 执行npm run build 后,ucar-master-frontend 项目中d webpack插件将修改同步到项目的dist/static下 4) 即可体验当前组件修改在项目当中的体现

FAQs

Package last updated on 29 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts