2 Star 4 Fork 0

刘元涛 / yipao

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

基于Vue-cli的PC端SPA实践(Yipao)

A Simple Vue2.0 project (IE9+) Still underConstruction 基于Vue-cli的PC端SPA Based on Vue-cli for PC SPA(仿·益跑网)

Demo

https://laclys.github.io/yipao/dist/index.html

Stack

Vue2.0+Vue-router2+Webpack2+ES6+Sass+Vue-lazyload+Vue-awesome-swiper

Build Setup

# 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

Directory structure

├─src
│  │  App.vue
│  │  main.js
│  │
│  ├─assets
│  │      index_fixed.png
│  │      logo.png
│  │
│  └─components
│      ├─column
│      │      column.vue
│      │
│      ├─enroll
│      │      enroll.vue
│      │
│      ├─equip
│      │      equip.vue
│      │
│      ├─footer
│      │      footer.vue
│      │
│      └─index
│              index.vue

└─static //(reset.css and image files)
└─index.html

Demo images

TODO

进一步组件化

性能优化

Thanks

空文件

简介

基于 Vue 脚手架(Vue2.0)写成的一个仿~ 益跑网 Demo。主要是练 2.0 的路由。首页的手风琴特效通过原生写的。其他页的轮播图通过一个叫 Vue-awesome-swiper 写成(竖直方向好像有点 bug),懒加载用的 Vue-lazyload。 展开 收起
JavaScript
取消

发行版

暂无发行版

贡献者

全部

近期动态

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

搜索帮助