UNPKG

vue-print-nb-jeecg

Version:

This is a directive wrapper for printed, Simple, fast, convenient, light. ( 特定改造版本: 解决IE兼容问题和支持Canvas自适应打印 )

18 lines (11 loc) 391 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _print = require('./lib/print.js'); var _print2 = _interopRequireDefault(_print); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } _print2.default.install = function (Vue) { Vue.directive('print', _print2.default); }; exports.default = _print2.default;