billyyyyy3320 / vuepress-plugin-mailchimp

VuePress plugin for mailchimp

Home Page:https://vuepress-plugin-mailchimp.billyyyyy3320.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 or .vue files.

// .md file

...
your content
...

<SimpleNewsletter/>

or

// .vue file

<template>
  <SimplePagination />
</template>

Check out the full documentation.

License

MIT © Billyyyyy3320

About

VuePress plugin for mailchimp

https://vuepress-plugin-mailchimp.billyyyyy3320.com/

License:MIT License


Languages

Language:Vue 54.1%Language:JavaScript 45.9%