[{"_path":"/providers/revue","_draft":false,"_partial":false,"_empty":false,"title":"Revue","description":"Learn more about the Revue provider integration for newsletter module.","excerpt":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Revue makes it easy for writers and publishers to send editorial newsletters — and get paid. People can subscribe to Revue newsletters directly from Tweets and Twitter profile."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can learn more about Revue "},{"type":"element","tag":"a","props":{"href":"https://www.getrevue.co/","rel":["nofollow","noopener","noreferrer"],"target":"_blank"},"children":[{"type":"text","value":"here"}]}]},{"type":"element","tag":"h2","props":{"id":"usage"},"children":[{"type":"text","value":"Usage"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"In order to have Revue as your newsletter provider set the provider option in the configuration options of the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-newsletter"}]},{"type":"text","value":" module to 'revue' like following:"}]},{"type":"element","tag":"code","props":{"code":"export default defineNuxtConfig({\n modules: [\n 'nuxt-newsletter'\n ],\n newsletter: {\n revue: {\n apiKey: process.env.REVUE_API_KEY,\n component: true // optional\n }\n }\n})\n","filename":"nuxt.config.js|ts","language":"ts"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"text","value":"export default defineNuxtConfig({\n modules: [\n 'nuxt-newsletter'\n ],\n newsletter: {\n revue: {\n apiKey: process.env.REVUE_API_KEY,\n component: true // optional\n }\n }\n})\n"}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can then use the built in "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"NewsletterForm.vue"}]},{"type":"text","value":" component or "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"useNewsletterSubscribe"}]},{"type":"text","value":" composable to handle adding new email to subscribers list."}]}]},"_type":"markdown","_id":"content:3.providers:1.revue.md","_source":"content","_file":"3.providers/1.revue.md","_extension":"md"},{"_path":"/providers/buttondown","_draft":false,"_partial":false,"_empty":false,"title":"Buttondown","description":"Learn more about the Buttondown provider integration for newsletter module.","excerpt":{"type":"root","children":[{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"Buttondown is a small, elegant tool for producing newsletters. The minimalist interface makes it easy for you to write great emails; the automation acts like the editorial assistant you wish you had, by checking for typos, broken links, or malformed images; the portable subscription widget makes it really easy to grow your audience from wherever you host your site."}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can learn more about Buttondown "},{"type":"element","tag":"a","props":{"href":"https://buttondown.email/","rel":["nofollow","noopener","noreferrer"],"target":"_blank"},"children":[{"type":"text","value":"here"}]}]},{"type":"element","tag":"h2","props":{"id":"usage"},"children":[{"type":"text","value":"Usage"}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"In order to have Buttondown as your newsletter provider set the provider option in the configuration options of the "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"nuxt-newsletter"}]},{"type":"text","value":" module to 'buttondown' like following:"}]},{"type":"element","tag":"code","props":{"code":"export default defineNuxtConfig({\n modules: [\n 'nuxt-newsletter'\n ],\n newsletter: {\n buttondown: {\n apiKey: process.env.BUTTONDOWN_API_KEY,\n component: true // optional\n }\n }\n})\n","filename":"nuxt.config.js|ts","language":"ts"},"children":[{"type":"element","tag":"pre","props":{},"children":[{"type":"element","tag":"code","props":{"__ignoreMap":""},"children":[{"type":"text","value":"export default defineNuxtConfig({\n modules: [\n 'nuxt-newsletter'\n ],\n newsletter: {\n buttondown: {\n apiKey: process.env.BUTTONDOWN_API_KEY,\n component: true // optional\n }\n }\n})\n"}]}]}]},{"type":"element","tag":"p","props":{},"children":[{"type":"text","value":"You can then use the built in "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"NewsletterForm.vue"}]},{"type":"text","value":" component or "},{"type":"element","tag":"code-inline","props":{},"children":[{"type":"text","value":"useNewsletterSubscribe"}]},{"type":"text","value":" composable to handle adding new email to subscribers list."}]}]},"_type":"markdown","_id":"content:3.providers:3.buttondown.md","_source":"content","_file":"3.providers/3.buttondown.md","_extension":"md"}]