# vue-layout-primitives.center

> A centered component with a set max-width.

Latest version **0.0.7** (published 2019-11-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-layout-primitives.center
pnpm add vue-layout-primitives.center
yarn add vue-layout-primitives.center
bun add vue-layout-primitives.center
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2019-11-12 |
| First published | 2019-11-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 148.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Phillip Curl |
| Maintainers | philcurl |

## Links

- npm: https://www.npmjs.com/package/vue-layout-primitives.center
- Repository: https://github.com/phillipcurl/vue-layout-primitives
- Homepage: https://www.npmjs.com/package/vue-layout-primitives.center
- Issues: https://github.com/phillipcurl/vue-layout-primitives/issues
- npm.io page: https://npm.io/package/vue-layout-primitives.center

## Recent versions

- 0.0.7 (latest) — 2019-11-12
- 0.0.4 — 2019-11-12

## README

# vue-layout-primitives.center

> A centered component with a set max-width.

## Installation

### Directly in the browser

Drop the component in with a `<script>` tag alongside Vue:

```html
<div id="app">
<!-- ... use component here ... -->
</div>

<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/vue-layout-primitives.center"></script>
<script>
new Vue({ el: '#app' })
</script>
```

### In a module system

Install the component with NPM:

```bash
npm install vue-layout-primitives.center
```

Then import the component:

```js
import Center from 'vue-layout-primitives.center'
```

And either globally register it for use in all components:

```js
Vue.component(Center, 'vue-layout-primitives.center')
```

or locally register it for use in an individual component:

```js
export default {
components: { Center }
}
```

## Usage

```html
<!-- No props or content are necessary. -->
  <Center>
		...
	</Center>
```

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