vue-lynx/plugin / PluginVueLynxOptions

Interface: PluginVueLynxOptions

Options for pluginVueLynx.

Properties

PropertyTypeDefault valueDescriptionDefined in
optionsApi?booleantrueWhether to enable Vue's Options API support. Disabling it reduces bundle size.index.ts:48
prodDevtools?booleanfalseWhether to enable Vue devtools in production builds.index.ts:54
enableCSSSelector?booleantrueWhether 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?booleanfalseWhether 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[]undefinedA list of additional CSS properties to inherit beyond the engine defaults. Only effective when enableCSSInheritance is true.index.ts:79
enableCSSInlineVariables?booleanfalseWhether 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?booleantrueWhether to place debug info outside the template bundle. Reduces template size in dev builds.index.ts:94
autoPixelUnit?booleantrueWhether 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