vuepress-plugin-mailchimp

A VuePress plugin for Mailchimp subscriptions

MIT 9 个版本
安装
npm install vuepress-plugin-mailchimp
yarn add vuepress-plugin-mailchimp
pnpm add vuepress-plugin-mailchimp
bun add vuepress-plugin-mailchimp
README

vuepress-plugin-mailchimp

NPM version NPM LICENSE Circle ci LGTM

Simplifies subscribing new email addresses to a Mailchimp email list.

Install

First of all, you have to sign up for Mailchimp.

yarn add vuepress-plugin-mailchimp -D
# OR npm install vuepress-plugin-mailchimp -D

Usage

Take a look at Using a Plugin.

// .vuepress/config.js
module.exports = {
  plugins: [
    "vuepress-plugin-mailchimp",
    {
      // You need to provide this plugin with your Mailchimp endpoint in order for it
      // to know where to save the email address. See more detail in Config section.
      endpoint: ""
    }
  ]
};

<SimpleNewsletter/>

This plugin provides a out-of-box component. Since it has been registered automatically, you can simply use it in your .md file.

// .md file

...
your content
...

<SimpleNewsletter/>

or

// .vue file

<template>
  <SimplePagination />
</template>

<script>
import { SimpleNewsletter } from "vuepress-plugin-mailchimp/src/SimpleNewsletter";
export default {
  components: {
    SimpleNewsletter
  }
};
</script>

Check out the full documentation.

License

MIT © Billyyyyy3320

版本列表
1.4.2 2020-03-27
1.4.1 2020-01-02
1.4.0 2020-01-01
1.3.1 2019-12-22
1.3.0 2019-12-22
1.2.0 2019-12-14
1.1.1 2019-12-14
1.1.0 2019-12-14
1.0.0 2019-12-01