@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
- Add
@docus/social-imagedependency to your project:
# Using Yarn
yarn add --dev @docus/social-image
# Using NPM
npm install --save-dev @docus/social-image
- Add
@docus/social-imageto thebuildModulessection of yournuxt.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
- Clone this repository
- Install dependencies using
yarn install - Start dev server using
yarn dev
Related Packages
nuxt-define
One utility function for module authors to define compiler constants for all bui...
13,412,511
Version History
| Version | Released | License |
|---|---|---|
| 1.0.3 | MIT | |
| 1.0.2 | MIT |