mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 20:18:22 +08:00
18 lines
399 B
TypeScript
18 lines
399 B
TypeScript
import { App, Plugin } from 'vue';
|
|
import Anchor from './Anchor';
|
|
import AnchorLink from './AnchorLink';
|
|
|
|
Anchor.Link = AnchorLink;
|
|
|
|
/* istanbul ignore next */
|
|
Anchor.install = function(app: App) {
|
|
app.component(Anchor.name, Anchor);
|
|
app.component(Anchor.Link.name, Anchor.Link);
|
|
return app;
|
|
};
|
|
|
|
export default Anchor as typeof Anchor &
|
|
Plugin & {
|
|
readonly Link: typeof AnchorLink;
|
|
};
|