1234567891011121314 |
- import { camelize } from "./format.mjs";
- function withInstall(options) {
- options.install = (app) => {
- const { name } = options;
- if (name) {
- app.component(name, options);
- app.component(camelize(`-${name}`), options);
- }
- };
- return options;
- }
- export {
- withInstall
- };
|