mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
chore: remove dead code (#8472)
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
import { App } from 'vue';
|
||||
import { camelize } from './format/string';
|
||||
|
||||
export function installable<T>(options: T) {
|
||||
return {
|
||||
...options,
|
||||
install(app: App) {
|
||||
const { name } = options as any;
|
||||
app.component(name, options);
|
||||
app.component(camelize(`-${name}`), options);
|
||||
},
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user