# vue-dialog-login

> A Vue.js project

Latest version **1.0.6** (published 2019-06-25) · 0 weekly downloads

## Install

```sh
npm install vue-dialog-login
pnpm add vue-dialog-login
yarn add vue-dialog-login
bun add vue-dialog-login
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2019-06-25 |
| First published | 2019-06-12 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 6.0.0 |
| Dependencies | 3 |
| Unpacked size | 281.2 KB |
| Known vulnerabilities | 0 (+8 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Jason |
| Maintainers | lovelyjason |

## Links

- npm: https://www.npmjs.com/package/vue-dialog-login
- Repository: https://github.com/lovelyJason/vue-dialog-login
- Homepage: https://github.com/lovelyJason/vue-dialog-login#readme
- Issues: https://github.com/lovelyJason/vue-dialog-login/issues
- npm.io page: https://npm.io/package/vue-dialog-login

## Dependencies (3)

- [vue](https://npm.io/package/vue.md) ^2.5.2
- [vue-router](https://npm.io/package/vue-router.md) ^3.0.1
- [webpack-dev-server](https://npm.io/package/webpack-dev-server.md) ^2.9.7

## Recent versions

- 1.0.6 (latest) — 2019-06-25
- 1.0.5 — 2019-06-25
- 1.0.4 — 2019-06-24
- 1.0.3 — 2019-06-12
- 1.0.2 — 2019-06-12
- 1.0.1 — 2019-06-12
- 1.0.0 — 2019-06-12

## README

# vue-dialog-login

> a dialog for login or register

# Introduction

- This is  a lightweight  plugin for login or  register in web application
- It provide many animation effcts to select and you don't have to consider browser compatibility

## Install

```
npm install vue-dialog-login -S
```

# Quick Start

```
import Vue from 'vue'
import Dialog from 'vue-dialog-login'

Vue.use(Dialog)
```

## Use in component

```
<template>
	<div>
		<vue-dialog :flagObj="flagObj" :type="type">
            <p>这是一个弹出框</p>
        </vue-dialog>
        <button @click="change">登录</button>
	</div>
<template>

<script>
	export default {
        data: function(){
            return {
                flagObj:{flag:false},
                type: '8'
                //单行注释：you can use it from 1-19
            }
        },
        methods: {
            change(){
                this.flagObj.flag = !this.flagObj.flag
            }
        }
	}
</script>
```



## Build Setup

``` bash
# 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
```

For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

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