nuxt-themes / alpine

The minimalist blog theme, powered by Nuxt & Markdown.
https://alpine.nuxt.space
MIT License
294 stars 54 forks source link

Contact Form #84

Closed atinux closed 1 year ago

atinux commented 1 year ago

Two options:

What do you prefer @Tahul @bdrtsky ?

bdrtsky commented 1 year ago

Sure I can make integration Formspree. Will create demo account and test it.

bdrtsky commented 1 year ago

Simple integration here https://github.com/nuxt-themes/alpine/commit/413a2dcd06ba8c7e3ffb448fdb52a81504cf065d

atinux commented 1 year ago

Nice. It would be great to add a warning if the data from appConfig is not availabel when using the contact-form component @bdrtsky

bdrtsky commented 1 year ago

You mean the API url?

atinux commented 1 year ago

Yes

bdrtsky commented 1 year ago

I could add a console.warn, maybe? Also, I moved the location of url to .env instead of app.config (which I think should store mostly UI related config)

atinux commented 1 year ago

Sounds good for the console.warn