You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 lines
466 B

import { VxeUI } from '@vxe-ui/core';
import { dynamicApp } from '../dynamics';
import VxePrintComponent from './src/print';
import { printHtml } from './src/util';
export const VxePrint = Object.assign({}, VxePrintComponent, {
install(app) {
app.component(VxePrintComponent.name, VxePrintComponent);
}
});
dynamicApp.use(VxePrint);
VxeUI.component(VxePrintComponent);
VxeUI.print = printHtml;
export const Print = VxePrint;
export default VxePrint;