I've been using Laravel with Inertia.js and Vue to build websites, primarily for platforms rather than simple landing pages. Recently, I've created a couple of single-page landing sites using just HTML, CSS, and JavaScript. Now I'm wondering if sticking with my usual stack is overkill for creating basic landing pages that only have three pages or less. I'm also curious about how to improve SEO and make my sites more prominent in Google searches since my previous work mainly involved closed systems that require user login. What are common technologies for frontend, backend, and databases in this situation? Which stacks are the most popular or widely used?
3 Answers
Go with what you know! Laravel is absolutely fine for a few pages. Static site generators are also great for small sites; I love using Astro for my static pages. With it, I can just focus on writing HTML and keep things straightforward.
Remember, even small sites might need extra pages like a contact or privacy policy, which could add complexity later on. In that case, consider using something like WordPress or Drupal. They can be slower than plain HTML but aren't too difficult to manage with caching.
If you're looking for simplicity, I'd suggest sticking with basic HTML, CSS, and JavaScript for your landing pages. Using a full stack like Vue and Laravel might complicate things more than necessary, especially for just three simple pages.
That sounds interesting! Do you have a tutorial or any resources that could help me get started with Astro and Tailwind?