How to use
Install
::: code-tabs#shell
@tab pnpm
pnpm add -D vuepress-plugin-lightgallery
@tab yarn
yarn add -D vuepress-plugin-lightgallery
@tab npm
npm i -D vuepress-plugin-lightgallery
:::
Usage
::: code-tabs#language
@tab TS
import { lightgalleryPlugin } from "vuepress-plugin-lightgallery";
export default {
plugins: [
lightgalleryPlugin({
// your options
}),
],
};
@tab JS
import { lightgalleryPlugin } from "vuepress-plugin-lightgallery";
export default {
plugins: [
lightgalleryPlugin({
// your options
}),
],
};
:::
LICENSE RESTRICTIONS
Please note that although this plugin release under MIT license, we are currently making this possible with a built-in organization license of lightgallery of VuePress Theme Hope, and we would like to admit you are a member of our organization if you are using it for non-commercial usage.
The organization license has no limit for you under non-commercial usage as it supports unlimited developers and unlimited products. You are safe to publish your docs or project with this plugin under ANY License.
But PLEASE DO AWARE that organizational license can only be used on one product. To use this plugin for commercial usage, since lightgallery is under GNU GPL license v3, you must put your source code under the GNU GPL license v3 license, or consider purchasing a license to avoid troubles.
YOU ARE WARNED!
If you are worried about this, please consider using @vuepress/plugin-photo-swipe instead.