vue-lynx/plugin / PluginVueLynxOptions
#Interface: PluginVueLynxOptions
Options for pluginVueLynx.
#Properties
| Property | Type | Default value | Description | Defined in |
|---|---|---|---|---|
optionsApi? | boolean | true | Whether to enable Vue's Options API support. Disabling it reduces bundle size. | index.ts:48 |
prodDevtools? | boolean | false | Whether to enable Vue devtools in production builds. | index.ts:54 |
enableCSSSelector? | boolean | true | Whether to enable CSS selector support in the Lynx template. When enabled, CSS from Vue <style> blocks and imported CSS files will be compiled into the Lynx bundle and applied via class selectors. | index.ts:62 |
enableCSSInheritance? | boolean | false | Whether to enable CSS inheritance in the Lynx engine. When enabled, CSS property values (including CSS custom properties / variables) cascade from parent elements to children, matching standard CSS behavior. Required for design-token patterns where CSS variables are set on a parent and consumed by descendants. | index.ts:72 |
customCSSInheritanceList? | string[] | undefined | A list of additional CSS properties to inherit beyond the engine defaults. Only effective when enableCSSInheritance is true. | index.ts:79 |
enableCSSInlineVariables? | boolean | false | Whether to enable CSS custom properties (variables) in inline styles. When enabled, setting --* properties via :style bindings will be recognized by the Lynx engine at runtime. | index.ts:87 |
debugInfoOutside? | boolean | true | Whether to place debug info outside the template bundle. Reduces template size in dev builds. | index.ts:94 |
autoPixelUnit? | boolean | true | Whether to automatically append 'px' to numeric style values (e.g. fontSize: 24 → '24px'). Dimensionless properties like flex, opacity, and zIndex are never converted. This convenience behavior is deprecated and will default to false in the next major version. Prefer explicit string units (e.g. fontSize: '24px'). Deprecated Will default to false in the next major version. | index.ts:108 |