I recently dealt with the same issue and was satisfied with prerender spa plugin ( https://github.com/chrisvfritz/prerender-spa-plugin ). It enabled me to quickly implement the landing page with Vue and then build it as a static page that I deployed on Netlify. I found it easier and faster to set up than an SSR solution. There's also a Vue-CLI version of the prerender plugin ( https://www.npmjs.com/package/vue-cli-pl…
Ask HN: Best way to create a landing page?
61–65 of 65 posts
Re: Ask HN: Best way to create a landing page?
#62Re: Ask HN: Best way to create a landing page?
#63Re: Ask HN: Best way to create a landing page?
#64Could someone explain to me why using a react app built using CRA is bad in this case? I have a similar use case where the app is on app.example.com (built using CRA) and I have a landing page (also built using CRA) on example.com The landing page links to: - The App at app.example.com - Docs at docs.example.com - Blog at blog.example.com I have 0 front-end experience so this is an honest attempt at understanding why…
Also CRA comes with tons of dependencies. If all we need is to display some texts and images, as most landing pages are wont to be, it makes little sense to utilize such complex technology stack.
Re: Ask HN: Best way to create a landing page?
#65To all the people using a static site generator. How do collect emails from interested people? Is there a way to easily integrate this into the static site? Ideally it would be a simple form, that collects the data and stores it somewhere? Google Forms comes to mind but it would integrate that nicely into the UI.
There's no secret keys; it's just the guid identifying that form.