# @aphorica/vuepress-plugin-headertags

> add user defined header tags to vuepress page

Latest version **1.0.1** (published 2020-04-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @aphorica/vuepress-plugin-headertags
pnpm add @aphorica/vuepress-plugin-headertags
yarn add @aphorica/vuepress-plugin-headertags
bun add @aphorica/vuepress-plugin-headertags
```

## 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.1 |
| Published | 2020-04-10 |
| First published | 2020-04-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 242 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | rickbsgu |
| Keywords | vue, vuepress, generator |

## Links

- npm: https://www.npmjs.com/package/@aphorica/vuepress-plugin-headertags
- Repository: https://github.com/Aphorica/vuepress-plugin-headertags
- Homepage: https://github.com/Aphorica/vuepress-plugin-headertags#readme
- Issues: https://github.com/Aphorica/vuepress-plugin-headertags/issues
- npm.io page: https://npm.io/package/@aphorica/vuepress-plugin-headertags

## Recent versions

- 1.0.1 (latest) — 2020-04-10
- 1.0.0 — 2020-04-10

## README

# vuepress-plugin-headertags

> plugin for vuepress to add header tags

Adds specified header tags to rendered pages

## Rationale
Had a use case where I need to add headers to a page.  There is a somewhat easy way to add headers to all pages using the 'head' tag in the .vuepress/config.js file, but no easy way to tune it for specific pages.

You will need to fork or copy this repo and make modifications to your copy to add tuning code.  For an example of how this is done, look at this plugin: [](vuepress-plugin-netlifycms).  Look in the 'HeaderTags.vue' to see how the action is filtered to only the main ("/") page.

## Install

```
yarn add vuepress-plugin-headertags -D
```

(Note the __-D__ is _very_ important...)

## Usage
In .vuepress/config.js:
```
module.exports = {
  plugins: [
    [
      'vuepress-plugin-headerTags',
      {
        headerTags: ['<script src="somewhere.js"></script>',
                     '<link rel="somelink"></link>',
                      (etc)
                      ]
      }
    ]
  ]
}
```

---
_Source: https://npm.io/package/@aphorica/vuepress-plugin-headertags · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
