Build Faster, Go Further
By utilizing static site generators, you can create websites that are both static and secure, ensuring fast performance. When paired with the JAMstack approach and a headless CMS for content storage and delivery, you’re well on your path to achieving success.
Static site generators (SSGs) process prepared content from flat files, apply it to templates, and create static HTML files for your website. Compared to dynamic sites, SSGs offer several benefits:
However, remember that static sites lack personalized experiences for individual users, unlike dynamic sites that can provide real-time data and interactivity.
Static site generators (SSGs) empower you to create lightweight, high-performance, and secure websites. However, relying solely on an SSG has its limitations. While you might be comfortable editing Markdown files whenever site content changes, consider your less tech-savvy colleagues.
By integrating a headless Content Management System (CMS), collaboration during content creation becomes seamless for the entire team. Benefits include streamlined workflows, role-based permissions, and structured content that goes beyond what a simple text file can offer.
To free yourself from manual content updates, leverage webhooks. These tools, connected to Kontent.ai APIs, automatically generate a new static site whenever content changes within the CMS. Now you’re off the hook, and your site stays up-to-date effortlessly!
The Royal Blue on White Nimvio theme that is created from Quick Start Guide is employing pre-rendering feature of Nuxt.js version 3. These pre-rendering feature create static generated of Vue.js application. Nuxt.js itself is a progressive framework built with Vue.js that lets you build production-ready website and web apps.
There are two ways to deploy a Nuxt application to any static hosting services:
ssr: true
pre-renders routes of your application at build time. (This is the default behavior when running nuxi generate
.) It will also generate /200.html
and /404.html
single-page app fallback pages, which can render dynamic routes or 404 errors on the client (though you may need to configure this on your static host).ssr: false
(static single-page app). This will produce HTML pages with an empty <div id="__nuxt"></div>
where your Vue app would normally be rendered. You will lose many SEO benefits of prerendering your site, so it is suggested instead to use <ClientOnly>
to wrap the portions of your site that cannot be server rendered (if any).Congratulations! You have just finished this blog post series on Building Website with Nimvio Part 3 - Build Static Sites with Nimvio. Keep exploring next part of the series below: