Usage of Plugin Components

Currently, there are two versions of components, v0 and v1. In order to make plugins adaptable to different component version themes, we standardize the following usage: All tag names of components starting with spz- are completely replaced with ljs-, while other usages remain unchanged. For example:

  • The naming of custom components still starts with spz-custom
  • Global usages like SPZ.whenDefined remain the same as before

Basic Usage

Plugin Usage

 <ljs-render layout="container" manual template="template-id"> </ljs-render>

Regular Usage

 <spz-render layout="container" manual template="template-id"> </spz-render>

AI Usage Notes (LLM Ready)

  • Section density: detected 1 level-2 headings.
  • Example density: detected 2 code blocks.
  • Read conclusions first: extract definitions, constraints, and boundary conditions.
  • Then verify with examples: rely on executable snippets rather than prose only.
  • Finally cross-check: open related component pages to avoid doc/runtime drift.