# EV-system-client **Repository Path**: wuhuaqiang/EV-system-client ## Basic Information - **Project Name**: EV-system-client - **Description**: 电动汽车演化模型系统前端 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2019-03-26 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README https://www.zcfy.cc/article/full-stack-single-page-application-with-vue-js-and-flask-4491.html ### 技术栈 - vue - elementUI ### 部署 确保安装有node和npm运行环境。 ``` //clone到本地,在项目目录中打开终端,安装依赖: npm i //运行: npm run dev ``` ### 路由 - /home 主页 - /login 注册登录页 跳转到注册登录页面 - /news 新闻页 - /system 预测分析系统页 - /store 方案库页(未写) - /questionaire 问卷调查页(未写) - /user 个人主页(未写) - /result 用于临时存放图表 ### 组件 - header 头部导航栏 包括主页|新闻|预测分析系统|方案库|问卷调查 - main 网站主体内容 - footer 网站版权信息等 ### bug 向后端提交请求时遇到跨域访问问题,后端引入`flask_cors`包仍未解决。 ``` Failed to load http://127.0.0.1:5000/: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access. ```