Questions tagged [static-site]

Websites that are considered as static sites do not contain any dynamic elements like databases or server-side scripting languages. There are multiple static site generators available in various programming languages including Jekyll, Wintersmith, and Pelican.

"Implementing a new dynamic route post-deployment in Nuxt: A step-by-step guide

After successfully deploying my site on AWS using nuxt generate with dynamic routes, I encountered an issue. I wanted to add a new route without having to go through the entire deployment process again. For example: /post/1 /post/2 /post/3 ------- alread ...

Having trouble reaching the subpages of my NextJS static site on S3 through CloudFront when public access is restricted

I have set up CloudFront to host my NextJS static site using an S3 bucket. I purposely restricted public access to the S3 bucket, so the only way to view the site is through the CloudFront URL (I implemented Origin Access Control "OAC" on the CloudFront di ...

What are the steps to successfully deploy a static website created with Next.js on Vercel?

Using the Next.js static site generator, I created a simple static site that I now want to deploy on Vercel. However, I keep encountering an error during the build process. While I have successfully deployed this site on other static hosting platforms befo ...

A guide on incorporating Vue.js into a Hexo static site generator

Exploring the use of vue.js within my hexo theme has sparked my interest. Can anyone guide me on how to compile my .vue files for both development and production environments? It's worth mentioning that I intend for vue.js to operate on the client side, ...

Exploring the global data subfolder in Eleventy / 11ty with iterative methods

I am working with Eleventy and have set up a subfolder called yummy in my global data folder. This subfolder contains the following files: \src\_data\yummy\drinks.json \src\_data\yummy\food.json When I use {{ yummy ...

What is the best way to utilize getInitialProps specifically during the building process of a NextJS site?

When I am developing a static site using NextJS, I need the getInitialProps method to run specifically during the build process and not when the client loads the page. During the build step, NextJS executes the getInitialProps method before generating the ...

What could be causing an error with NextJS's getStaticPaths when running next build?

When attempting to use Next.js's SSG with getStaticPaths and getStaticProps, everything worked fine in development. However, upon running the build command, an error was thrown: A required parameter (id) was not provided as a string in getStaticPaths for ...