@docus/social-image

Generate Social Preview Image for Docus pages.
1,980
Install
npm install @docus/social-image
Latest Version:1.0.3
License:MIT
Last Updated:Aug 12, 2021
Links: npm
Maintainer: alexchopin

Docus Social Image Module

Generate Social Preview Image for Docus pages.

Quick Setup

  1. Add @docus/social-image dependency to your project:
# Using Yarn
yarn add --dev @docus/social-image
# Using NPM
npm install --save-dev @docus/social-image
  1. Add @docus/social-image to the buildModules section of your nuxt.config.js
{
  buildModules: [
    '@docus/social-image'
  ]
}

Usage

Add a social-image-preview page to your app, and generate an image for each of your Docus page with that page.

You can take a look at the shipped social-image-preview.vue.

Development

  1. Clone this repository
  2. Install dependencies using yarn install
  3. Start dev server using yarn dev

Related Packages

@docus/admin

The Docus admin module.

1,081
@docus/debug-theme

Docus debugging theme.

983
@docus/twitter

Twitter static embed for Docus.

1,113
nuxt-define

One utility function for module authors to define compiler constants for all bui...

13,412,511
@lg2/nuxt3-module-create-dato-map

nuxt3-module-create-dato-map

2,869 0

Version History

Version Released License
1.0.3 MIT
1.0.2 MIT