@oruga-ui/oruga-next
Version:
UI components for Vue.js and CSS framework agnostic
16 lines (11 loc) • 323 B
text/typescript
import type { App, Plugin } from "vue";
import Switch from "./Switch.vue";
import { registerComponent } from "@/utils/plugins";
/** export switch plugin */
export default {
install(app: App) {
registerComponent(app, Switch);
},
} as Plugin;
/** export switch components */
export { Switch as OSwitch };