27 lines
614 B
TypeScript
27 lines
614 B
TypeScript
import type { App } from "vue";
|
|
|
|
import components from "./components";
|
|
|
|
import "./assets/style/variable.less";
|
|
import "./assets/style/timi-web.less";
|
|
import "prismjs/themes/prism.css";
|
|
import "./components/prism-code-block.less";
|
|
import VPopup from "./utils/directives/Popup";
|
|
|
|
export * from "./components";
|
|
export * from "./editor";
|
|
export * from "./store";
|
|
export * from "./types";
|
|
export * from "./utils";
|
|
|
|
const install = function (app: App) {
|
|
components.forEach(component => {
|
|
app.use(component as unknown as { install: () => any });
|
|
});
|
|
app.directive("popup", VPopup);
|
|
};
|
|
|
|
export default {
|
|
install
|
|
};
|