element-easy-print
v1.1.0
Published
vue3.0 的通用设计器,基于element-Plus
Downloads
35
Maintainers
Readme
更新记录
修复 css 污染问题
安装
npm install element-easy-print --save
文档地址
案例
仅供演示具体去文档地址
import {
EasyPrint,
PreviewPrint
} from 'element-easy-print'
import elementEasyPrint from 'element-easy-print'
import 'element-easy-print/dist/style.css'
app.use(elementEasyPrint);
<template>
<div class="p20 h100 test ">
<EasyPrint />
</div>
</template>
<script setup lang="ts">
import { ref, reactive, onMounted } from "vue";
import { useRouter, useRoute } from "vue-router";
</script>
<style scoped lang="scss">
.test{
padding: 20px;
}
</style>
"vue3-sketch-ruler": "^2.0.9"
Sketch尺子
提示
如果无法安装请切换npm官方镜像 npm config set registry https://registry.npmjs.org/ 同步yarn 淘宝镜像需要时间 如果是历史版本就没问题
- 提示esBuild.exe 建议重启项目就没问题了 或者删除原来的node_modules