2020-10-12 09:54:43 +00:00
|
|
|
import { App } from 'vue';
|
2019-01-12 03:33:27 +00:00
|
|
|
import Anchor from './Anchor';
|
|
|
|
import AnchorLink from './AnchorLink';
|
2018-06-02 10:11:50 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
Anchor.Link = AnchorLink;
|
2018-09-19 05:21:57 +00:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
2020-10-12 09:54:43 +00:00
|
|
|
Anchor.install = function(app: App) {
|
2020-06-08 07:45:14 +00:00
|
|
|
app.component(Anchor.name, Anchor);
|
|
|
|
app.component(Anchor.Link.name, Anchor.Link);
|
2020-10-13 11:14:56 +00:00
|
|
|
return app;
|
2019-01-12 03:33:27 +00:00
|
|
|
};
|
2020-10-15 14:38:48 +00:00
|
|
|
export default Anchor as typeof Anchor & {
|
|
|
|
readonly Link: typeof AnchorLink;
|
|
|
|
};
|