0.0.1 • Published 2 years ago

ls-editor v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

borax-ui

概述

  • 封装业务层的UI组件
  • 优化性能,提高效率

组件安装

npm install ls-editor

使用示例

  1. 手工引入
// 小程序的main.js中全局引入
import helloworld from '@ls-editor/components/helloworld/helloworld.vue'
...

export function createApp() {
  const app = createSSRApp(App)
  ...
  app.component('helloworld', helloworld)
  ...
  return {
    app
  }
}
  1. 使用easycom的功能,在pages.json中添加如下规则:
{
  "easycom": {
    "^b-(.*)": "@ls-editor/components/b-$1/b-$1.vue"
  }
}

接口文档

1. 生成推广图

import lPainter from '@ls-editor/components/lime-painter/components/l-painter/l-painter.vue'

H5微信小程序支付宝小程序抖音小程序APP(vue)APP(nvue)
0.0.1

2 years ago