# vue-component-menu

> Simple, response and beautiful Vue menu component

Latest version **0.1.6** (published 2016-08-09) · 0 weekly downloads

## Install

```sh
npm install vue-component-menu
pnpm add vue-component-menu
yarn add vue-component-menu
bun add vue-component-menu
```

## 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.1.6 |
| Published | 2016-08-09 |
| First published | 2016-07-16 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Author | Halfeld |
| Maintainers | halfeld |

## Links

- npm: https://www.npmjs.com/package/vue-component-menu
- Repository: https://github.com/Halfeld/vue-component-menu
- Homepage: https://github.com/Halfeld/vue-component-menu#readme
- Issues: https://github.com/Halfeld/vue-component-menu/issues
- npm.io page: https://npm.io/package/vue-component-menu

## Dependencies (2)

- [vue](https://npm.io/package/vue.md) ^1.0.0
- [babel-runtime](https://npm.io/package/babel-runtime.md) ^6.0.0

## Recent versions

- 0.1.6 (latest) — 2016-08-09
- 0.1.5 — 2016-08-09
- 0.1.4 — 2016-08-09
- 0.1.3 — 2016-07-16
- 0.1.2 — 2016-07-16
- 0.1.1 — 2016-07-16

## README

Vue Component Menu
==================

> Simple, response and beautiful Vue menu component

[DEMO](https://halfeld.github.io/vue-component-menu/)

Install
-------

```bash
npm install vue-component-menu --save-dev
```

Usage
-----

### Template tag

```html
<template>
  <div id="app">

    <!-- You need create `el:wapper` to open and close menu -->
    <div class="wapper" v-el:wapper>

      <!-- Container of header and menu -->
      <div class="canvas">

        <!-- Component Menu -->
        <component-menu
            label="MENU"
            color-primary="tomato"
            color-secondary="#fff"
            color-shadow="#ff3c1a"
            :items="links"></component-menu>

        <!-- Your Header -->
        <header class="content">
          <h1>Vue menu component</h1>
          <p>This is a test!</p>
        </header>

      </div>
    </div>

  </div>
</template>
```

### Script tag

```javascript
import ComponentMenu from './component-menu.vue';

export default {
  data () {
    return {
      links: [
        { name: 'Home', link: '/home' },
        { name: 'Blog', link: '/blog' },
        { name: 'Github', link: '/github'},
        { name: 'Contact', link: '/contact'},
        { name: 'About', link: '/about'}]
    }
  },
  components: { ComponentMenu }
}
```


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

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