# 当前版本存在的问题 ## 1、Element-Plus处于持续更新中,存在部分bug,暂时发现: ### 1)所有组件与图标组件Icon有关的属性,都暂时不支持string形式的icon名称使用方式,请使用插槽。(如Button组件的icon属性,Input组件的prefix-icon和suffix-icon) # 运行命令 ## 运行本地开发环境 npm run dev ## 打包 npm run build ## 运行本地服务器环境 npm run server 运行前先进行打包操作 # 部分文件介绍 ## 无需打包的配置 /public/config.js ## 接口封装 /src/service/ajax 只是最基础的代码,根据具体项目需进一步完善 [官网参考](http://www.axios-js.com/zh-cn/docs/) ## store存储 /src/service/stroe [官网参考](https://next.vuex.vuejs.org/zh/) ## 路由封装 /src/service/router [官网参考](https://next.router.vuejs.org/zh/index.html) ## 国际化(多语言) /src/service/i18n.js [github](https://github.com/intlify/vue-i18n-next) ## 使用UI Element Plus [官网参考](https://element-plus.gitee.io/zh-CN/) [ui主题线上生成](https://element-plus.github.io/theme-chalk-preview/#/zh-CN)