跳到主要内容

core-plugins

Published as @openclothes/core-plugins, our core plugins bundles the most commonly used open clothes plugins in one bundle that is loaded by the core library by default.

Specifically, loading this plugin will have the same effect as loading these plugins individually:

Installation

npm install @openclothes/core-plugins

Usage

The core plugins are loaded by default so there is nothing to be done to use them.

If you do not want to load the core plugins, pass noCore插件: true to your Design constructor:

const design = new Design({ 
parts: myParts,
noCore插件: true
})