Use Custom Components
You can use custom components of Panel MiniApp in the Ray architecture. Native UI component libraries are supported, for example, miniapp-components-plus and weui.
Example
The following example shows the extension component library of Smart MiniApp, miniapp-components-plus:
Things to note
-
Use an event that starts with
bindas the event of a custom component.Example
-
For the component with
slot, the outermost layer ofslotmust be theViewcomponent.Wrong example
Correct example
-
Spread attributes cannot be used in custom components.
Wrong example
Correct example