# drop-element

> An NPM package for vue components

Latest version **1.0.2** (published 2018-08-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install drop-element
pnpm add drop-element
yarn add drop-element
bun add drop-element
```

## 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.2 |
| Published | 2018-08-16 |
| First published | 2018-08-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 76.1 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 6 |
| Author | levo |
| Maintainers | rainlevo |

## Links

- npm: https://www.npmjs.com/package/drop-element
- Repository: https://github.com/raintao/drop-element
- Homepage: https://github.com/raintao/drop-element#readme
- Issues: https://github.com/raintao/drop-element/issues
- npm.io page: https://npm.io/package/drop-element

## Dependencies (1)

- [vue](https://npm.io/package/vue.md) ^2.5.11

## Recent versions

- 1.0.2 (latest) — 2018-08-16
- 1.0.1 — 2018-08-16
- 1.0.0 — 2018-08-16

## README

# drop-element

> vue组件库（可作为一个快速开发vue组件并发布到npm的模版）

## 完整引入drop-element

``` bash
    import Vue from 'vue';
    import DropElement from 'drop-element';
    import App from './App.vue';

    Vue.use(DropElement);

    new Vue({
    el: '#app',
    render: h => h(App)
    });

```
## 通过js引入

``` bash
    // 完整demo在lib/demo.html
    <script src="./drop-element.js"></script>

```



## 做为vue组件模版

``` bash

    $ git clone https://github.com/raintao/drop-element.git
    $ cd drop-element
    $ npm install
    $ npm start
    
``` 

## 也可利用[drop-cli](https://github.com/raintao/drop-cli.git)脚手架安装模版

#### 1. 安装drop-cli

```
$ npm install drop-cli -g
$ drop-cli list

```

#### 2.选择模板并创建自己的项目

```
$ drop-cli init
$ gulp-html-front // 输入一个模版
$ gulp-html-test  // 输入自己的项目名称
$ cd gulp-html-test
$ npm install

```

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