Global Config In Vue
Sets a config for the size property of the spinner element.
import { createApp } from 'vue';
import App from './App.vue';
// Setup the global config.
import { setConfig } from '@htmlplus/ui/config.js';
setConfig({
elements: {
'plus-spinner': {
properties: {
size: {
default: 'lg'
}
}
}
}
});
createApp(App).mount('#app');