General
Last updated
Last updated
Vueless gathers all component settings in one place — a plain JavaScript object. This includes styles, default prop values, i18n, and more.
The default Vueless component configs can be customized globally under the component
key in thevueless.config.{js,ts}
.
Here is an example of customizing the USelect
component. In this example, we partially redefine some styles (Tailwind CSS classes), internationalization values, and default props.
To enhance the developer experience, the component name and config key are displayed in the browser console (dev environment only) under the attributes vl-component
and vl-key.
For components with nested components, two additional attributes, vl-child-component
and vl-child-key
, indicate the nested component and its corresponding config key.
Learn more how to .