# wtbf-vue-page

> vue page style component

Latest version **0.0.1** (published 2017-04-14) · 0 weekly downloads

## Install

```sh
npm install wtbf-vue-page
pnpm add wtbf-vue-page
yarn add wtbf-vue-page
bun add wtbf-vue-page
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-04-14 |
| First published | 2017-04-14 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | wtbf |
| Maintainers | wtbf |

## Links

- npm: https://www.npmjs.com/package/wtbf-vue-page
- npm.io page: https://npm.io/package/wtbf-vue-page

## Dependencies (1)

- [moment](https://npm.io/package/moment.md) ^2.17.1

## Recent versions

- 0.0.1 (latest) — 2017-04-14

## README

# wtbf-vue-page

This is yet another vue page component.

## Install

Use npm to download code:

```
npm install wtbf-vue-page -S
```

then import it into your project, add below code into your `main.js`:

```js
import Page from 'wtbf-vue-page'

Vue.use(Page)
```

## Usage

```html
<template>
<div class="demo">
  <div>
    <page :pageCount="pageCount"  :currentPage="currentPage" v-on:change="pagingChanged"></page>
  </div>
</div>
</template>


<script>
export default {
  data() {
    return {
      pageCount: 10,
      currentPage: 1
    }
  },
  methods: {
    pagingChanged(page) {
      page = page < 1 ? 1 : page
      this.currentPage = page
      this.reloadList()
    },
    reloadList() {
      console.log("data init")
    }
  },
}
</script>
```

---
_Source: https://npm.io/package/wtbf-vue-page · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
