Skip to content

Nuxt.js module generate meta-tags for social networks - Facebook, Twitter and LinkedIn (and the rest uses OG tags, such as Discord etc.).

Notifications You must be signed in to change notification settings

AlekseyPleshkov/nuxt-social-meta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

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

npm i nuxt-social-meta --save

# or, with yarn:

yarn add nuxt-social-meta

Usage

Add module to your nuxt.config.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",
      },
    ],
  ],
};

About

Nuxt.js module generate meta-tags for social networks - Facebook, Twitter and LinkedIn (and the rest uses OG tags, such as Discord etc.).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •