vue-power-show
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

vue-power-show

vue power check component

Getting started

  • make sure node and npm installed;

Install

> npm install vue-power-show

Usage

main.js
import vue from 'vue';
import vue_power from 'vue-power-show';

// install
vue.use(vue_power);
// set report handler
vue_power.setPowerHandler((param) => {
    // check power
    return true;
})
app.vue
<template>
  <div>
    <div v-power="power1">
    </div>
  </div>
</template>

Development

  • make sure node and npm installed;
  • clone the repo to local;
  • run npm install to install node modules;
  • run npm run build to get an unminified build file at lib folder;

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.10latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.10

Package Sidebar

Install

npm i vue-power-show

Weekly Downloads

0

Version

1.0.1

License

UNLICENSED

Unpacked Size

11.5 kB

Total Files

8

Last publish

Collaborators

  • liangmayong