108 questions
0
votes
1
answer
357
views
Page Not Found after Deploying Next.js Static Website on Digital Ocean App Platform
I've created a static website with Next.js that works fine locally (npm run dev) but after deploying as a static site to Digital Ocean App Platform I'm getting Page Not Found (404).
The routes are ...
0
votes
0
answers
1k
views
Nuxt 3 unable to preload css
I am building a static site with Nuxt 3, deployed & hosted to Github Pages.
I added a dynamic route to my static site under pages/features/[id].vue. However when viewing this page on my github ...
1
vote
0
answers
280
views
11ty images not generating on Netlify, working ok locally
I have a small 11ty site running on Netlify and using Decap CMS (formerly Netlify CMS). There's an image field for uploading JPGs, and I've used 11ty Image to generate a Webp and an AVIF, then create ...
1
vote
0
answers
393
views
Rendering dynamic routes in AnalogJS without using a prefix or a folder?
In this question we were able to render dynamic routes with 2 or more parameters, but they have to be either prefixed or contained in a folder.
I'd like to be able to render a route like this, where :...
2
votes
1
answer
224
views
Rendering routes with 2 or more route parameters with AnalogJS?
I have routes of that are defined like this:
{
path: ':category/:topic',
component: TopicComponent,
data: ROUTE_DATA,
resolve: { topic: topicResolver },
canActivate: [topicGuard]
...
1
vote
1
answer
610
views
Conditionally render more than one section in Hugo
I want to render all the markdown files inside every folder except the static one in my home page of the website, one way of doing that is by using union in hugo, but as number of folders increase, I ...
0
votes
1
answer
225
views
Azure Static Web App with Gatsby not calling 3rd party external API (405 Status)
To illustrate the problem, please see the differences in request headers between app running on localhost and on Azure Static Web App service.
On Localhost:
On Azure Static Web Apps Service:
Other ...
0
votes
2
answers
777
views
Redirects in Next.js app on Digital Ocean not working and must use .html suffix for all pages
Is there a way to deploy a Next.js static site on Digital Ocean and get it to work "normally"?
I got an app deployed but every page has to be accessed via the .html suffix, and redirects ...
0
votes
0
answers
443
views
How close mobile menu after click on menu item
I've build website menu with Alpinejs and Tailwindcss, but when i clicked on the menu item when has shown mobile menu and after this i do backward to previous page i can still see opened menu. How can ...
0
votes
1
answer
297
views
how to set dynamic enviroment variable for static nextjs app deployed on IIS
I'm trying to deploy the static nextjs app(next export) on local Windows IIS.
The web app communicates RestFul API server deployed on the same network.
The problem is the address of RestFul API server....
2
votes
1
answer
380
views
Safari browser failing page hydration
Our website uses JS to do partial page hydration to avoid downloading the entire page when navigating within the website. We have been getting reports from Safari browser users that when they click a ...
3
votes
1
answer
1k
views
Headless WordPress BUT using Gutenberg blocks and ACF blocks, is it possible?
I am looking to branch out into the world of headless WordPress(WP). I have a project lined up and was hoping to use a JS front end on top of WP. I've found lots of articles around headless WP setup, ...
8
votes
1
answer
3k
views
SvelteKit fails to Run Dev | [plugin externalize-deps] Missing "./vite" export in "@sveltejs/kit" package
Following the Sveltekit docs here: https://kit.svelte.dev/docs/creating-a-project
Everything is fine up until the npm run dev command, then this results:
$ npm run dev
> [email protected] dev
> vite ...
1
vote
2
answers
615
views
Can't display fetched posts in AstroJS [duplicate]
I am trying to build my website in AstroJS and I am not able to display the content I fetch inside the "Masonry" component, which is being rendered as an empty "div" in my browser.
...
2
votes
2
answers
3k
views
Which rendering mode to choose with Nuxt? SPA, SSR, SSG?
I'm still new to web dev and trying to build an Ecommerce app using Nuxt and Strapi as a CMS to enable the website owner (which in this case is also me) to easily add/edit/remove products.
I've found ...