wok-ui-module

Community

Extend wok-ui with lifecycle-ready modules.

AuthorPeakTai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

指导开发者在 wok-ui 中设计并实现可复用的自定义模块,帮助降低重复工作、提升一致性和可维护性。

Core Features & Use Cases

  • 模块化设计原则: 指导如何基于 wok-ui 的 Module/DivModule 架构构建自定义模块,确保封装、可复用与低耦合。
  • 生命周期管理: 讲解模块的创建、挂载、销毁等生命周期钩子,以及如何在不同场景下管理状态和资源。
  • 动态内容构造与集成: 展示如何使用字面量构建、缓存子模块与整合 FullRenderingModule/ResponsiveModule 的场景。
  • 常见用例包括:新增一个模块、扩展现有模块、对模块行为进行自定义等。

Quick Start

Extend DivModule to build a new module and mount it to the page.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: wok-ui-module
Download link: https://github.com/PeakTai/wok-ui/archive/main.zip#wok-ui-module

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.