n-discrete

Community

Call Naive UI APIs anywhere, even outside setup.

Authorjiaiyan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It enables calling Naive UI APIs outside Vue component setup by providing a discrete API creator function that returns isolated, globally accessible APIs.

Core Features & Use Cases

  • Outside-setup API access for message, dialog, notification, loadingBar, and modal
  • Simple integration with typical app architectures and utility modules
  • Safer, unmountable lifecycle to clean up resources when no longer needed

Quick Start

Import createDiscreteApi and demonstrate a simple outside-setup usage with a minimal example.

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: n-discrete
Download link: https://github.com/jiaiyan/naive-ui-skills/archive/main.zip#n-discrete

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 471,000+ vetted skills library on demand.