Questions tagged [static-web-apps]
37 questions
0
votes
0 answers
Clarification on Webpack Javascript bundling and performance
I am using a Webpack in node.js to compile/bundle the Javascript for a static website. It's a fairly typical setup of multiple smaller JS files that compile into a single "main.js" file used across my site.
Say my Javascript pre-bundle looked like…

devforweb_17
- 15
- 5
0
votes
1 answer
(NextJS + Amplify graphql + S3 static hosting) How can I restrict the data fetching by URL?
I'm making a static website with NextJS and Amplify. (+ react, typescript etc)
When I'm using dynamic routing like /projects/[id],
It works well on my local but gets some problems after the deployment (after I upload the build files to S3 for static…

Noah Gray
- 151
- 1
- 1
- 13
0
votes
2 answers
Static Web Apps shows "Refused to apply style from because its MIME type ('text/html') is not a supported stylesheet MIME type"
I deployed to Azure Static Web Apps the default app that comes whenever you create a new Blazor WebAssembly app via dotnet new blazorwasm. At first it works properly but when I added webpack to build my SASS file, it showed me this error once it…

Raffy
- 515
- 1
- 8
- 12
0
votes
1 answer
Certain parts of tailwind CSS not working in production
I've built a static website for my next JS app that uses tailwind CSS for styling. I'm using statically as a CDN. The website in the development server(local host) works perfectly alright. However, in production, certain parts of styling seem to be…

Prajwal Kulkarni
- 1,480
- 13
- 22
0
votes
0 answers
Are html files not sent in dynamic http requests?
Been referring to murach's java servlets and jsp book, there's a line which says ->
For a static web page, the http request includes the name of the html file that's requested
Just wanted to understand if the case with dynamic web pages is entirely…

Dawson Smith
- 473
- 1
- 6
- 15
-1
votes
1 answer
Implementing an email database from a website form
I want visitors of my website to be able to provide their email address in a form to get future company updates. Once they submit the form an email would be sent to their address with a link to click on, say www.mywebsite.com/. Upon visiting…

KeyboardOnFire
- 43
- 3
-1
votes
2 answers
how to configure S3 to host a private static website
I would need to host a minimized web app (static) on S3 but I can't make it public. I would want to make it accessible to only few people, therefore I was wondering if it is possible to configure aws to allow the access of the url of my static…

Zarcoin
- 133
- 2
- 11