0.0.1 • Published 2 years ago
ls-editor v0.0.1
borax-ui
概述
- 封装业务层的UI组件
- 优化性能,提高效率
组件安装
npm install ls-editor
使用示例
- 手工引入
// 小程序的main.js中全局引入
import helloworld from '@ls-editor/components/helloworld/helloworld.vue'
...
export function createApp() {
const app = createSSRApp(App)
...
app.component('helloworld', helloworld)
...
return {
app
}
}
- 使用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