18 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
181
views
Angular & Service Worker: prevent index.html caching
Despite the number of subjects about this, I still cannot find a way to achieve what I want.
I have an Angular PWA application with a Service Worker, and I simply want the index.html not to be cached ...
2
votes
1
answer
368
views
Angular 18.2 with strict CSP (nonces) is not injecting the ngCspMedia script into index.html
I have an Angular v. 18.2 app. It uses nonces for strict Content-Security-Policy. It is built and deployed in Jenkins. It was working fine until about a few weeks ago (not sure of the exact date of ...
0
votes
0
answers
433
views
TypeError: Cannot read properties of undefined (reading 'tap') after moving index.html inside client folder in React project
I encountered an issue after restructuring my React project by moving the index.html file into a client folder. I started getting the following error when trying to run my development server:
[webpack-...
0
votes
2
answers
398
views
How can we share the JMeter html reports (index.html) to someone after generating through command line?
When I try sharing the report as an attachment through email it was opening as a text document. I have tried generating the link and kept that as "public" still not working. I was not ...
0
votes
0
answers
49
views
There is no record of image input in the vue project, but an error comes out
View page sources after running
<script defer src="/js/chunk-vendors.js"></script>
<script defer src="/js/app.js"></script>
<link rel="icon" type="image/svg+xml" href="/img/...
0
votes
0
answers
250
views
Unknown word error only on my computer in index.html file
Every time I type something into vscode I get this error that says "Unknown word (CssSyntaxError)stylelint(CssSyntaxError)" I know it's not my code because this only happens on my computer. ...
2
votes
2
answers
361
views
Receiving index.html when using proxy
When I try to use proxy, still getting index.html. I am using proxy as below:
{
"/api/*": {
"target": "http://localhost:8080/v1/api/playground",
"secure&...
0
votes
0
answers
2k
views
Vite build command produces index.js instead of bunch of files including index.html, why is that?
My project is a react project using typescript.
I've migrated my project from webpack to vite.
I've created file vite config (like below).
When I run command npm run build, i am getting file index.js ...
0
votes
1
answer
209
views
How to set vite config to remove index file sunbfolder while mutlple entry point
I am using vite with vuejs i have multiple entry points my issue I am getting a extra subfolder as login like below (my current folder structure).
├─ my-app/
│ ├─ dist
├─ login
├─ login
├─index.html
...
0
votes
1
answer
717
views
Hosting a GitHub repo in Hostinger
I am using hostinger to host my local website.
In hostinger, a file must be names index to be registered as the 'home' and will be what is initially shown. At the moment, I am running my website ...
0
votes
0
answers
219
views
Index.html issue & Vue
So I'm using Vue 3 and Router. The site functions greatly when I do npm run dev. Now if I got this correct, I have to do npm run build for the site before I put it on something like netify right.
This ...
0
votes
1
answer
297
views
How to Dynamically Change Header Meta Tags for Link Previews using React.js, Node.js on Microsoft Azure
We need to dynamically change meta tags for some pages on our React.js Node.js app so that link previews show correctly.
We have an app hosted on Microsoft Azure Static Web App for the front end and ...
0
votes
1
answer
303
views
Vite escapes characters from index.html src tag
I am trying to generate index.html with Vite that has unescaped variable in src tag, but Vite is always escaping it
What I want is this:
<!DOCTYPE html>
<html lang="en">
...
1
vote
2
answers
116
views
Why does index.html have such a name in Django?
I’m not a native speaker and I don’t understand why the standard name of the initial page in Django applications is index.html. Can someone explain in simple words why this is so, and not, for example,...
0
votes
1
answer
766
views
Why isn't Blazor able to find a JavaScript function declared in index.html?
I am trying to call a JavaScript function in a .razor component:
This is what it's been declared like in index.html:
window.getIsBrowserChromium = function () {
return !!navigator.userAgentData &...