2020-11-01 07:03:33 +00:00
|
|
|
import { App, Plugin } from 'vue';
|
2019-05-25 09:18:04 +00:00
|
|
|
import Statistic from './Statistic';
|
|
|
|
import Countdown from './Countdown';
|
|
|
|
|
|
|
|
Statistic.Countdown = Countdown;
|
|
|
|
/* istanbul ignore next */
|
2020-10-17 03:23:31 +00:00
|
|
|
Statistic.install = function(app: App) {
|
2020-06-22 09:50:38 +00:00
|
|
|
app.component(Statistic.name, Statistic);
|
|
|
|
app.component(Statistic.Countdown.name, Statistic.Countdown);
|
2020-10-13 11:14:56 +00:00
|
|
|
return app;
|
2019-05-25 09:18:04 +00:00
|
|
|
};
|
|
|
|
|
2020-11-01 07:03:33 +00:00
|
|
|
export default Statistic as typeof Statistic &
|
|
|
|
Plugin & {
|
|
|
|
readonly Countdown: typeof Countdown;
|
|
|
|
};
|