简历编辑与导出PDF项目(vue+elementUI)适合初学者

1.vue-cil生成项目

2.需要安装的依赖

"dependencies"

    "element-ui": "^2.9.2",

    "html2canvas": "^1.0.0-alpha.12",

    "jspdf": "^1.5.3",

3 sass

"devDependencies"

    "node-sass": "^4.9.0",

    "sass-loader": "^7.0.1",

4.引入elementUI

main.js

import './plugins/element';

plugins/element.js

import Vue from 'vue';

import Element from 'element-ui';

import 'element-ui/lib/theme-chalk/index.css';

Vue.use(Element);

Vue.prototype.$ELEMENT = { size: 'medium', zIndex: 3000 };

5.引入:对象深拷贝

"lodash": "^4.17.11"

6.UI界面


主界面
编辑信息
模块开关

7.源码地址:https://gitee.com/doukezi/resume

你可能感兴趣的:(简历编辑与导出PDF项目(vue+elementUI)适合初学者)