@laomao800/vue-listview
[![Build Status](https://travis-ci.org/laomao800/vue-listview.svg?branch=master)](https://travis-ci.org/laomao800/vue-listview) [![codecov](https://codecov.io/gh/laomao800/vue-listview/branch/master/graph/badge.svg)](https://codecov.io/gh/laomao800/vue-li
Last updated 2 days ago by laomao800 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @laomao800/vue-listview 
SYNC missed versions from official npm registry.

Vue Listview

Build Status codecov npm

Vue Listview 是一个基于 Vue.jsElement-UI ,可用于生成列表类的页面布局组件。

界面预览:

预览

默认为表格类列表页,也可通过 Slot 实现自定义列表布局。

文档 & Demo

安装

npm i -S @laomao800/vue-listview

# OR

yarn add @laomao800/vue-listview

使用

全局注册

直接 import 的文件为不包含 Element-UI 的 listview-component 文件,需确保项目内已有 Element-UI。

// main.js
import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import Listview from '@laomao800/vue-listview'

Vue.use(ElementUI)
Vue.use(Listview)

局部注册

<template>
  <listview />
</template>

<script>
import Listview from '@laomao800/vue-listview'

export default {
  components: {
    Listview
  }
}
</script>

UMD

演示: jsfiddle

<div id="app">
  <listview />
</div>

<script src="//unpkg.com/vue/dist/vue.js"></script>
<script src="//unpkg.com/@laomao800/vue-listview/dist/listview.umd.min.js"></script>
<script>
new Vue().$mount('#app')
</script>

Current Tags

  • 1.1.1                                ...           latest (2 days ago)

14 Versions

  • 1.1.1                                ...           2 days ago
  • 1.1.0                                ...           3 days ago
  • 1.0.2                                ...           14 days ago
  • 1.0.1                                ...           a month ago
  • 1.0.0                                ...           2 months ago
  • 1.0.0-beta.4                                ...           4 months ago
  • 1.0.0-beta.3                                ...           4 months ago
  • 1.0.0-beta.2                                ...           4 months ago
  • 1.0.0-beta.1                                ...           4 months ago
  • 1.0.0-alpha.21                                ...           4 months ago
  • 1.0.0-alpha.20                                ...           5 months ago
  • 1.0.0-alpha.19                                ...           5 months ago
  • 1.0.0-alpha.16                                ...           5 months ago
  • 1.0.0-alpha.15                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 30
This Month 55
Last Day 1
Last Week 0
Last Month 58
Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |