Since the launch of the micro-low code platform, many developers have been concerned about the opening of third-party component libraries, and today, it has come. However, how to customize the component operation in micro-low code platform is still relatively new, let’s do it together. In study, it is possible to improve by being aggressive.

To prepare

Upgrade cli: NPM install -g@cloudbase/CLI

View the tcB-V version

Application development

Creating a component library

Open Tencent cloud micro low code console, find component library management

Click the “New Component library” button to create a component library of our own

Click ok to create our first component library

Associate local component libraries

Now let’s create a local folder, I’m going to create a lowcode folder on drive D, and then open CMD and go to that folder

After entering the lowcdoe directory, we execute the component library creation command: TCB lowcode create O2O

If the dependency fails, go to lowcdoe/ O2O directory and run NPM install –legacy-peer-deps

Debug the local component library

Enter TCB lowcode debug at CMD

Ask to log in. All right, follow the instructions

Add the component

Click Add Component and enter information about the new component

Currently it has only source components and low-code components. Click on the component we created to open the component editor

Publish component libraries

After we finish editing, we need to publish the component. Click the “Publish Component Library” button

Components use

How to use the component library after it is published? In the application management, we choose the component library published by ourselves, and we can use it like the official component

Product introduction

Tencent Cloud Micro low code is an efficient and high-performance drag-and-drop low code development platform, which connects the front-end industry business upward and the massive cloud computing capacity downward to help enterprises vertically go to the cloud. Tencent Cloud micro-build low code abstracts the tedious underlying architecture and infrastructure into a graphical interface, and quickly builds multi-terminal applications (small programs, H5 applications, Web applications, etc.) through professional templates, drag-and-drop components and visual configuration, eliminating the need for code writing and allowing you to fully focus on business scenarios. Tencent Cloud micro low code with cloud development as the underlying support, cloud native ability to build a full link through the application, provide a highly open development environment, and always escort your application. Open the low code: cloud.tencent.com/product/low…

The product documentation: cloud.tencent.com/document/pr…

Technical exchange group, latest information follow wechat public number