The component can both be used for waiting list signups and newsletter signups.
The example components takes in a email and stores it in the storage/app/waiting-list-sign-up.txt
file. If you want to store the emails in the database instead feel free to change the code in the WaitingListSignUpController
.
import NewsletterSignUp from "@/Components/NewsletterSignUp.vue";