# CA-DataAnalysis-UI ## Package ``` npm install xe-utils@3 vxe-table@3 https://xuliangzhan_admin.gitee.io/vxe-table/#/table/start/install npm i vuex-persistedstate https://blog.csdn.net/weixin_43526371/article/details/110517581 npm i element-ui -S https://element.eleme.io/#/zh-CN/component/installation npm install --save axios vue-axios http://www.axios-js.com/docs/vue-axios.html npm install uuid https://www.npmjs.com/package/uuid npm install echarts vue-echarts https://blog.csdn.net/weixin_43526371/article/details/121010069?spm=1001.2014.3001.5502 npm install moment http://momentjs.cn/ npm install --save js-base64 https://www.npmjs.com/package/js-base64 npm install vuedraggable https://www.itxst.com/vue-draggable/tutorial.html https://www.npmjs.com/package/vuedraggable ``` ## Project setup ``` yarn install ``` ### Compiles and hot-reloads for development ``` yarn serve ``` ### Compiles and minifies for production ``` yarn build ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). ## 开发注意 需要单独启动nginx做本地文件的转发 ####nginx中增加配置项 ``` location /api/home/pic { alias D:\\ProjectInformation\\library\\upload\\; #对应后台配置文件中的文件上传地址 } ``` #### vue.config.js -- proxy中增加配置项 ``` // 请求静态图片配置项 '/api/home/pic': { target: 'http://127.0.0.1:7061', // 图片请求的nginx网址 changeOrigin: true } ```