Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alekseypleshkov/nuxt-social-meta
Nuxt.js module generate meta-tags for social networks - Facebook, Twitter and LinkedIn (and the rest uses OG tags, such as Discord etc.).
https://github.com/alekseypleshkov/nuxt-social-meta
nuxt-module nuxtjs vuejs
Last synced: 8 days ago
JSON representation
Nuxt.js module generate meta-tags for social networks - Facebook, Twitter and LinkedIn (and the rest uses OG tags, such as Discord etc.).
- Host: GitHub
- URL: https://github.com/alekseypleshkov/nuxt-social-meta
- Owner: AlekseyPleshkov
- Created: 2017-12-05T11:45:04.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-23T15:33:04.000Z (about 3 years ago)
- Last Synced: 2024-05-16T01:03:37.246Z (6 months ago)
- Topics: nuxt-module, nuxtjs, vuejs
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 125
- Watchers: 2
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nuxt social meta
Nuxt.js module generate meta-tags for social networks - Facebook, Twitter and LinkedIn (and the rest uses OG tags, such as Discord etc.).
## Install
```sh
npm i nuxt-social-meta --save# or, with yarn:
yarn add nuxt-social-meta
```## Usage
Add module to your `nuxt.config.js`
```js
module.exports = {
modules: [
...[
"nuxt-social-meta",
{
url: "Site url",
title: "Title",
site_name: "Site name",
description: "Site description",
img: "Link to image in static folder",
img_size: { width: "Image width in px", height: "Image height in px" },
locale: "en_US",
twitter: "@user",
twitter_card: "summary_large_image",
theme_color: "#theme-color",
},
],
],
};
```