SkillAgentSearch skills...

Gankbook

数据来源于gank,利用vue做数据交互,vue-router做路由,light7做ui实现的简单案例,后续将持续完善

Install / Use

/learn @tanxuxu/Gankbook
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

vue02

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

图例

<img style="display:inline-block" src="https://raw.githubusercontent.com/tanxuxu/gankbook/master/src/assets/1.png"/> <img style="display:inline-block" src="https://raw.githubusercontent.com/tanxuxu/gankbook/master/src/assets/2.png"/>

运用库

  • vue2.0
  • light7
  • webpack
  • vue-router
  • vue-resource

说明

  • 一直在用angular 1.0 都说vue很轻量,特别是2.0版本出来之后,在1.0的基础上有了挺大的变动,利用yyx大神提供的cli工具搭建了个项目
  • 数据来源与gank api
  • 感谢gank作者提供那么好的api给我们练习,想要练习的同学可以访问地址gank api
  • 后续持续完善

遇到的问题

  • light7在a标签如果没有href=''的时候会一直出现加载框,这个很奇葩
  • 默认的cli搭建的项目在部署到服务器中,如果不是根目录回出现问题,在根目录下存放是正常的,应该是webpack的配置问题

For detailed explanation on how things work, consult the docs for vue-loader.

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated7y ago
Forks2

Languages

Vue

Security Score

55/100

Audited on Aug 23, 2018

No findings