Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
53 views

I’m using the Next.js App Router and trying to understand how rendering type is decided. In my page, I have both generateStaticParams() and a server component that fetches data: export async function ...
Muhammad Faisal's user avatar
0 votes
0 answers
186 views

want to ask question about opennext. I have deployed my blog without any issue. And when i readed documentation i found that worker have assets binding, and when you deploy, its populates with static ...
Yuri Tsiomra's user avatar
0 votes
1 answer
60 views

I have this in hugo.toml theme="r-hugo-theme" and this folder structure: I'm trying to follow the new template system: https://gohugo.io/templates/new-templatesystem-overview/ I get the ...
pleasebenice's user avatar
0 votes
1 answer
133 views

I understand the SSG and SSR mode in astro and when to use them. We use SSG where dealing with static pages and SSG offers faster speed due just serving prerendered code. We will use SSR when we are ...
Siranjeevi K's user avatar
9 votes
1 answer
440 views

I have an Angular v20 app with SSR enabled just for the prerendering and I'm hosting the site statically on Github Pages. I enabled Server Side Rendering in Angular just for the Static Site Rendering ...
Blake's user avatar
  • 133
0 votes
1 answer
182 views

I have configured in app.routes.server.ts to pre-render a set of articles that are fetched from a CMS. It looks like this: // app.routes.server.ts ... { path: 'article/:articleId', renderMode:...
Alex Pappas's user avatar
  • 2,807
0 votes
1 answer
45 views

ReferenceError: window is not defined at 99869 (/Users/admin/Desktop/raff/raff-frontend/.next/server/chunks/7450.js:1:2175763) at t (/Users/admin/Desktop/raff/raff-frontend/.next/server/webpack-...
Muttarab Ahmad's user avatar
0 votes
1 answer
62 views

I think that Page.tsx belongs to app/. In src/app/Page.tsx, the MRE: export default function Home({ images: { poze } }: { images: { poze: string; } }) { return poze; }; export const ...
silviubogan's user avatar
  • 3,475
0 votes
1 answer
150 views

I need this in an SSG to send to photo galleries the image files' dimensions. I expected no error. Error of "npm run dev": 21:23:44 ~/Desktop/Pro/home-gh-pages main $ npm run dev > home-...
silviubogan's user avatar
  • 3,475
0 votes
1 answer
102 views

Short question: I try to store the HTML output of a Blazor to a file in order to have a static website, but I don't find the file. What am I missing? Long question Some time ago I asked a question ...
PizzaOverflow's user avatar
1 vote
0 answers
38 views

I have a shell application in Angular that currently renders applications in web component mode, using ax-lazy-element (Angular Extensions Elements). All communication between the parent shell ...
fixesMyCode's user avatar
0 votes
0 answers
33 views

My clients need SEO for modals. Yeah, and it really works with SSR. But recently they decided move to SSG because it is landing part. Is it even possible to have SEO for modals with SSG? Lets say we ...
Pavel's user avatar
  • 33
0 votes
0 answers
50 views

I need to generate a simple static website build for all the languagues defined in translations.json and I've decided to use Next.js with Page router. Let's say I have: en: { title: 'Hello World', ...
Axel Productions 86's user avatar
0 votes
1 answer
35 views

I’m working with Next.js Static Site Generation (SSG) and need to generate static paths for a route like /recovery-password/[token]. However, the token value is unknown in advance and changes every ...
Giacomo Pasquali's user avatar
1 vote
0 answers
137 views

I want to make the step to SSG with our NX/Angular 19 applications. SSG is easy to implement and works fine. We use a design system based on StencilJS components, so I need to add logic to hydrate ...
Dirk's user avatar
  • 175
0 votes
0 answers
129 views

When I forget the password, mail sent to my gmail through nodemailer and I get this http://localhost:3000/password/reset/d325795aa2ce721f63c805b695b6e96b3dd255f4 In production the url with this domain:...
Tayyab Afzal's user avatar
2 votes
0 answers
88 views

I build by next.js app like so next build and the output is ... Route (app) Size First Load JS ┌ ○ / ...
Gulzar's user avatar
  • 28.8k
3 votes
0 answers
204 views

Does someone have a rudimentary but working example of using the App-Shell-Pattern in Angular 19? The docs on angular.dev are very poor, and all the articles that could be found are either on a lower ...
sagerobert's user avatar
0 votes
1 answer
66 views

I have an idea for a Nuxt module that I would like to run at or near the end of the generate process. The module would need to examine the contents of .output/public/ and write a report to disk. ...
JB0x2D1's user avatar
  • 990
2 votes
0 answers
200 views

I am having the landing home page which is likely to be prerendered, but it contains section with products categories which are gotten from BE API, so in this case that section cannot be completely ...
Gregster's user avatar
3 votes
1 answer
254 views

I have some statically generated pages in my Next app (app router). When I build the app locally, those pages are rendered immediately on navigation, as I would expect. The same app deployed to Vercel ...
pdme's user avatar
  • 113
2 votes
1 answer
204 views

I have a question about apline.js . Sorry if it's stupid, but I didn't find answer in the off documentation. What kind of rendering does apline.js? I understand that he doesn't have a v-dom, but I ...
yanballas's user avatar
  • 109
0 votes
0 answers
121 views

I'm working on a Next.js project and I'd like to optimize the build process by generating only a single static page based on its path, instead of rebuilding the entire application. For example, if I ...
Jason Biondo's user avatar
1 vote
0 answers
244 views

I'm having trouble with dynamic routing in Astro. I'm working with a Content Collection called "Articles" and then created a route: [slug].astro. However, the slug does not resolve to the ...
kaboom_coder's user avatar
0 votes
0 answers
414 views

I've been reading the next.js docs, and there are two things that puzzle me about the generateStaticParams. #1: 1st thing that puzzles me is the paragraph at https://nextjs.org/docs/app/building-your-...
Baran Elitez's user avatar
0 votes
0 answers
147 views

i'm currently building a blog that get it's content from Storyblok API. i want my blog to be full static and for that i use the "npm run generate" that work almost as i want. There's one ...
oldBeaver's user avatar
2 votes
0 answers
667 views

I'm playing with new ( v19 ) Universal. Im trying to use Hybrid approach, so some pages like home, about, products would be prerendered in build time ( SSG ) while 'dynamic' pages like checkout or my-...
Kamil's user avatar
  • 41
1 vote
0 answers
95 views

I'm using 11ty to build a simple static site and have structured my project into templates and content directories. The template strings in my Nunjuck .njk templates are not rendering values from ...
Josh's user avatar
  • 1,429
5 votes
2 answers
1k views

I have angular v19 app and I'm using SSG with following angular.json settings { ... "prerender":{ "routesFile": "prerender-urls.txt", ...
Uttam Ughareja's user avatar
1 vote
1 answer
126 views

I'm trying to generate a static page with nuxt 3 but no luck. I fetch the data from wordpress rest api (https://172.27.0.4/wp-json/...), nuxt works on http://0.0.0.0:3000, so I added this to nuxt....
forever_young's user avatar
0 votes
0 answers
346 views

I've been looking for a plugin to pre-render some of the pages of my vue 3 app but so far I've been unlucky. I use Vite and the Options API, any suggestion? I tried vite-ssg but it includes unhead ...
tienow's user avatar
  • 181
1 vote
1 answer
598 views

I am trying to make my website redirect to a 404 page when the path is not set, using vite-react-ssg and react-router-dom. I need to use SSG because of pre-rendering. I can't find any documentation on ...
EBianchi's user avatar
0 votes
1 answer
233 views

I have a nextjs app with basePath set. //next.config.mjs /** * @type {import('next').NextConfig} */ const nextConfig = { basePath: '/app1', output: 'export', webpack(config, { isServer }) { ...
Kalyan's user avatar
  • 316
-2 votes
1 answer
84 views

I'm trying to create a blog with static pages. That's when i learned about SSG such as Hugo and Zola. Here's my question, imagine i want to have a "recent articles" section and a "...
Lorenzo Dassie's user avatar
0 votes
1 answer
54 views

What I want to do to load the SG page generated at build time in the CSR page. app/ SG/[id]/product/page.tsx CSR/page.tsx (Next version is 14) The HTML output file of the CSR is assumed to be as ...
yayuyo's user avatar
  • 25
0 votes
1 answer
196 views

I have an angular SSG (Site Static Generation) and I need to deploy on IIS 10 server. For each html generated file, angular created a folder page1.html/index.html where page1 is a folder. So it ...
Bruno Gallego's user avatar
0 votes
1 answer
67 views

Guys i am fetching meta setting (set from admin panel) from mongodb then i pass it to generateMetadata function this add dynamic meta data in localhlost as page is always server side rendered but in ...
Abdullah moiz's user avatar
1 vote
1 answer
385 views

Does NextJS have the ability to cache static pages between builds? So, for example, when I add a new piece of content without changing the code, a build should just incrementally build that new ...
user313724's user avatar
  • 3,545
1 vote
2 answers
233 views

I use NextJS and I'm trying to make a static site with Wordpress as a backend, I managed to deploy my site with GitLab which deploys to an FTP server. My problem is that I have to rebuild each time to ...
Ben's user avatar
  • 11
-1 votes
1 answer
251 views

I'm working on nextjs 14.2 version with pages folder. I don't have any images, /api routes or anything yet. This is an old nextjs app, updated to latest version. When I run npm run build, it is not ...
Kalyan's user avatar
  • 316
0 votes
0 answers
153 views

Prerender allows you to generate static pages from a route map. This is necessary for SEO, because by default Angular gives empty html. If you pass /post-1, /post-2 to the preender, it will generate ...
Илья's user avatar
-1 votes
1 answer
147 views

I am new to nextjs. My application has pages that call the backend API using axios. The application is a template and it came with mocked API. For production, obviously I want to disable mocking and ...
rentall devops's user avatar
0 votes
1 answer
619 views

I'm facing a classic dilemma with Next.js Static Site Generation (SSG) and protected routes. I understand that SSG requires data to be available at build time, while protected routes depend on user ...
BlackLabrador's user avatar
1 vote
1 answer
117 views

Is there a method to prerender a page which is mainly a huge leaflet.js window ? The window is always starting out at the same coordinates so It would be beneficial to prepare the initial view at ...
JKJ's user avatar
  • 645
1 vote
0 answers
148 views

I have a very simple website built with angular 18 and want to use SSG. I have set it all up and ng build does generate all the necessary files. The only thing not working is the links from on part of ...
hemmoleg's user avatar
  • 170
0 votes
0 answers
36 views

when I refresh the page,it work,network has html.But if I use next link to the page,network doesn't return html.In code I use getStaticProps and getStaticPaths.And when I run build,I can see the /...
陈俊江's user avatar
0 votes
1 answer
646 views

In Next.js 14, dynamic route params are automatically passed to your page component. For example if you have a dynamic route products/[productid]/[variantid] your pages under those dynamic route ...
muzykfs's user avatar
  • 60
0 votes
0 answers
171 views

js Community, I'm working on a Next.js application and have some confusion regarding pre-rendering and client-side rendering. I've been using the 'use client' directive at the top of my components to ...
kholio mudrich's user avatar
2 votes
1 answer
213 views

I'm using 11ty with Decap CMS for a client webiste. I have several front-matter fields to add markdown content (I need to add Markdown content to boxes in several locations) . I render the markdown ...
vermar's user avatar
  • 77
9 votes
1 answer
10k views

I'm currently running a small Angular 13 application on GitHub Pages and I want to update it to Angular 18 to use the new features. Additionally, I'm thinking of moving to SSG, to improve the user ...
Wesley's user avatar
  • 457

1
2 3 4 5 6