A VuePress plugin for Mailchimp subscriptions
npm install vuepress-plugin-mailchimp



Simplifies subscribing new email addresses to a Mailchimp email list.
First of all, you have to sign up for Mailchimp.
``bash`
yarn add vuepress-plugin-mailchimp -DOR npm install vuepress-plugin-mailchimp -D
Take a look at Using a Plugin.
`javascript`
// .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: ""
}
]
};
This plugin provides a out-of-box component. Since it has been registered automatically, you can simply use it in your .md file.
- Source code:SimpleNewsletter.vue
- Usage:
`md
// .md file
...
your content
...
`
or
`vue
// .vue file
``
Check out the full documentation.
MIT © Billyyyyy3320