Newer
Older
vmk-ui-kit / src / vue / plugin.js
@Eugene Sukhodolskiy Eugene Sukhodolskiy 1 day ago 377 bytes Implement Button component and Vue adapter
/**
 * VMK UI Kit Vue plugin.
 * Mirrors the GnexusUiVue plugin from gnexus-ui-kit.
 */

import GnButton from "./components/GnButton.js";
import VmkIcon from "./components/Icon.js";

export const components = {
	GnButton,
	VmkIcon
};

export default {
	install(app) {
		Object.entries(components).forEach(([name, component]) => {
			app.component(name, component);
		});
	}
};