0.1.7 • Published 4 years ago
@nuxt-modules/newsletter v0.1.7
@nuxtjs/newsletter
Newsletter module for Nuxt
Features
- Nuxt 3 ready
 - Easy integration with Mailchimp, Revue, Buttondown
 - Useful (optional) NewletterForm.vue component
 - Handy useNewsletterSubscribe composable
 - Coming soon More newsletter providers
 - TypeScript support
 
Setup
yarn add @nuxtjs/newsletter # yarn
npm i @nuxtjs/newsletter # npmBasic usage
Firstly, you need to add @nuxtjs/newsletter to your Nuxt config.
// nuxt.config.js
{
    modules: [
        "@nuxtjs/newsletter",
    ],
    newsletter: {
      // mailchimp | revue | buttondown
      <YOUR_NEWSLETTER_PROVIDER>: {
        // options like apiKey
      }
    }
}Then you can start using @nuxtjs/newsletter in your app!
<template>
  <div>
    <newsletter-form />
  </div>
</template>Development
- Clone this repository
 - Install dependencies using 
yarn installornpm install - Start development server using 
yarn devornpm run dev 
