Use cases and boundaries
An existing Nacos installation can supply service endpoints and remote configuration to a Vext application. The plugin can register the local service at startup and clean up subscriptions during shutdown. Configure namespace and service identity in the host.
Getting started and compatibility
Install the released package
npm install @devcodex/nacos@0.2.10
The 0.2.10 package requires Node.js 18+ and declares a Vext peer range starting at 0.3.4. The documented host baseline is Vext 0.3.26, which requires Node.js 20.19+.
Save the fragment as src/plugins/nacos.ts in the Vext app. In the host's config.nacos, set a reachable serverAddr and at least one of service for discovery or config/configs for remote configuration. Nacos configuration and plugin registration
import { nacosPlugin } from '@devcodex/nacos';
export default nacosPlugin();