2019-01-12 11:33:27 +08:00
|
|
|
import Anchor from './Anchor';
|
|
|
|
import AnchorLink from './AnchorLink';
|
2019-08-28 10:50:19 +08:00
|
|
|
import Base from '../base';
|
2018-06-02 18:11:50 +08:00
|
|
|
|
2019-01-12 11:33:27 +08:00
|
|
|
Anchor.Link = AnchorLink;
|
2018-09-19 13:21:57 +08:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
2019-01-12 11:33:27 +08:00
|
|
|
Anchor.install = function(Vue) {
|
2019-08-28 10:50:19 +08:00
|
|
|
Vue.use(Base);
|
2019-01-12 11:33:27 +08:00
|
|
|
Vue.component(Anchor.name, Anchor);
|
|
|
|
Vue.component(Anchor.Link.name, Anchor.Link);
|
|
|
|
};
|
2019-08-28 10:50:19 +08:00
|
|
|
export { AnchorProps } from './Anchor';
|
|
|
|
export { AnchorLinkProps } from './AnchorLink';
|
2019-01-12 11:33:27 +08:00
|
|
|
export default Anchor;
|