# vue-mg-sidebar-standard

> ``` npm install --save vue-mg-sidebar-standard ```

Latest version **1.1.1** (published 2020-07-14) · 0 weekly downloads

## Install

```sh
npm install vue-mg-sidebar-standard
pnpm add vue-mg-sidebar-standard
yarn add vue-mg-sidebar-standard
bun add vue-mg-sidebar-standard
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2020-07-14 |
| First published | 2020-07-06 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 1 |
| Unpacked size | 32.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | fuuga000 |
| Maintainers | fuuga |

## Links

- npm: https://www.npmjs.com/package/vue-mg-sidebar-standard
- Repository: https://github.com/fuuga000/vue-mg-sidebar-standard
- Homepage: https://github.com/fuuga000/vue-mg-sidebar-standard#readme
- Issues: https://github.com/fuuga000/vue-mg-sidebar-standard/issues
- npm.io page: https://npm.io/package/vue-mg-sidebar-standard

## Dependencies (1)

- [@vue/cli-service-global](https://npm.io/package/@vue/cli-service-global.md) ^4.4.6

## Recent versions

- 1.1.1 (latest) — 2020-07-14
- 1.1.0 — 2020-07-11
- 1.0.8 — 2020-07-10
- 1.0.7 — 2020-07-10
- 1.0.5 — 2020-07-06
- 1.0.4 — 2020-07-06
- 1.0.3 — 2020-07-06
- 1.0.2 — 2020-07-06
- 1.0.1 — 2020-07-06
- 1.0.0 — 2020-07-06

## README

# vue-mg-sidebar-standard

## Installation

```
npm install --save vue-mg-sidebar-standard
```

## Usage
app.js

```
import SidebarStandard from 'vue-mg-sidebar-standard'
Vue.component('SidebarStandard', SidebarStandard)
```

Example:

```
<template>
<div>
    <SidebarStandard v-model="show" :option="option" :routes="routes"/>
    <transition name="view" mode="out-in">
        <router-view :key="$route.fullPath" :class="{ slide_right: show }"/>
    </transition>
</div>
</template>

<script>
export default {
    data() {
        return {
            show: true,
            option: {
                top_height: '75px',
                tab_height: '75px',
            }
            routes : [
              {
                name: 'home',
                path: '/',
                icon: 'fas fa-home',
              },
              {
                name: 'report',
                path: '/report',
                icon: 'far fa-edit',
              },
            ]
        }
    },
}
</script>

<style scope>
@media ( min-width: 576px ) {
    .slide_right {
        padding-left: 200px;
    }
}
</style>
```
If there is a header
```
.header {
    z-index: 5;
}
```
Please specify style in global
```
.router_link:hover {
  background: rgba($primary, 0.5);
}
.active-link {
  background: $primary;
}
```

※Include Font Awesome icons in your project if you want to include icons

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