当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 1 Fork 1

庚子world / vote
关闭

forked from 强人工作室 / vote
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

郑州大学西亚斯国际学院2019年投票系统活动

介绍


基于vue-cli3,vue@2.6.6,element-ui@2.7.2

  • vue
  • vue-router
  • element-ui
  • sass
  • axios
  • quickly-css

注意:模版中的src/element目录为按需加载element-ui,初始化把所有组件全部注释了,需要使用时请取消组件注释即可,js文件为element.js,样式文件为style.scss

关于打包


使用了 compression-webpack-plugin 对vue、vue-router、axios进行优化,打包后引入cdn加速

打包后的体积:

  • Compiled successfully in 7145ms File -------------- Size --------- Gzipped dist/js/chunk-vendors.b9a3b2dc.js -- 23.13 KiB -- 6.86 KiB dist/js/app.6adf6c24.js -- 6.86 KiB -- 2.16 KiB dist/css/app.38c0b6af.css -- 73.33 KiB -- 14.01 KiB

使用


clone到本地:

git clone https://gitee.com/zj1024/vue-template.git

安装依赖:

cnpm install

运行:

npm run serve

打包:

npm run build
MIT License Copyright (c) 2019 张京 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

郑州大学西亚斯国际学院投票系统,外网体验链接:http://vote.zj1024.com 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/gengzi/vote.git
git@gitee.com:gengzi/vote.git
gengzi
vote
vote
master

搜索帮助