2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-06 12:02:25 +03:00
Files
vue-meta/docs/installation.md
T
2019-03-10 21:58:13 +01:00

44 lines
881 B
Markdown

# Installation
## Download / CDN
[https://unpkg.com/vue-meta/lib/vue-meta.js](https://unpkg.com/vue-meta/lib/vue-meta.js)
For the latest version in the v1.x branch you can use:<br/>
[https://unpkg.com/vue-meta@1/lib/vue-meta.js](https://unpkg.com/vue-meta@1/lib/vue-meta.js)
Or you can replace `1` with the full version number you wish to use.
If you include vue-meta after vue it will install automatically
**Uncompressed:**
```html
<script src="https://unpkg.com/vue-meta/lib/vue-meta.js"></script>
```
**Minified:**
```html
<script src="https://unpkg.com/vue-meta/lib/vue-meta.min.js"></script>
```
## Package manager
**Yarn**
```sh
$ yarn add vue-meta
```
**npm**
```sh
$ npm install vue-meta --save
```
### Install
You need to explicitly install vue-meta when using a package manager
```js
import Vue from 'vue'
import VueMeta from 'vue-meta'
Vue.use(VueMeta)
```