# vue全家桶+element组件 **Repository Path**: wulitta/vue_vuex_element ## Basic Information - **Project Name**: vue全家桶+element组件 - **Description**: vue+vuex+sass+ES6+element 组件方式书写页面 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2019-12-20 - **Last Updated**: 2021-04-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### vuecomponents > tt #### 项目描述 1. 项目目的:以组件的方式绘制页面 2. 项目技术:vue+vuex+sass+ES6+element #### 页面目录介绍(src): 1. components:存放组件文件夹 1. router:路由 1. static:静态文件夹,存放js sass 1. view:主要页面,根据组件拼接而成 #### 优点: > 增加公共页面的可维护性,代码量大可有效缩减代码 #### Installation ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report ``` #### 可能发生的问题: 1. 如果gulp-sass没有安装起来 >npm install gulp-sass --save-dev 2. Error: Can't find Python executable "python", you can set the PYTHON env variable. >npm install --global --production windows-build-tools(管理员身份运行) 3. UnhandledPromiseRejectionWarning 图片显示不出来 >卸载:npm uninstall gulp-imagemin >重新安装:npm install --save-dev gulp-imagemin