# my-vue-componment **Repository Path**: wangningjava/my-vue-componment ## Basic Information - **Project Name**: my-vue-componment - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-07-07 - **Last Updated**: 2026-04-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # my-vue-component ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). ### 本项目安装的依赖 * element-ui,在引入的时候已经控制了size,所以在使用的时候,如无特殊需求,请勿在使用size属性 * echarts * axios * npm install vue-pdf --save * npm install js-cookie --save * npm install normalize.css --save ``` $ npm install --save nprogress 或者 $ yarn add nprogress //用法 NProgress.start(); NProgress.done(); //导入 import NProgress from 'nprogress' import 'nprogress/nprogress.css' router.beforeEach((to, from, next) => { NProgress.start() next() }) router.afterEach(() => { NProgress.done() }) //在App.vue中 #nprogress .bar { background: red !important; //自定义颜色 } 在修改完配置文件后需要重启才能生效 node_modules-20230406.zip 中添加了XLSX导出excel的依赖