# wind-components

> vue components

Latest version **1.0.7** (published 2018-03-29) · 0 weekly downloads

## Install

```sh
npm install wind-components
pnpm add wind-components
yarn add wind-components
bun add wind-components
```

## 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.7 |
| Published | 2018-03-29 |
| First published | 2018-03-07 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 59.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Dylan |
| Maintainers | melody0z |

## Links

- npm: https://www.npmjs.com/package/wind-components
- npm.io page: https://npm.io/package/wind-components

## Dependencies (3)

- [vue](https://npm.io/package/vue.md) ^2.5.11
- [webpack-merge](https://npm.io/package/webpack-merge.md) ^4.1.2
- [babel-preset-stage-2](https://npm.io/package/babel-preset-stage-2.md) ^6.24.1

## Recent versions

- 1.0.7 (latest) — 2018-03-29
- 1.0.6 — 2018-03-15
- 1.0.5 — 2018-03-15
- 1.0.4 — 2018-03-14
- 1.0.3 — 2018-03-14
- 1.0.2 — 2018-03-14
- 1.0.1 — 2018-03-07
- 1.0.0 — 2018-03-07

## README

# wind-components

> vue component

## 引入组件

main.js中

- 全局引入

```
import Vue from 'vue'
// 引入
import WindComponents from 'wind-components'
import App from './App.vue'

// 注册全局组件
Vue.use(WindComponents)

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

- 局部引用

```
import Vue from 'vue'
import { Header, Footer } from 'wind-components'
import App from './App.vue'

Vue.component(Header.name, Header)
Vue.component(Footer.name, Footer)
/* 或写为
 * Vue.use(Header)
 * Vue.use(Footer)
 */

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

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