6,983 questions
-1
votes
0
answers
18
views
Is there a way to add auto-transaction of crypto once wallet a Dapp connects to wallet?
I created a Dapp crypto website. I was able to connect to wallet and fetch wallet address successfully. But I tried to include some logics in other that once a wallet connects to the Dapp, it then ...
-5
votes
0
answers
92
views
How should I start structuring a full-stack project with React + Vite frontend, FastAPI backend, and PostgreSQL database? [closed]
I’m trying to understand the right way to start and organize a full-stack web app project from scratch.
For example, let’s say I want to build a web app using this stack:
Frontend: React + Vite
...
1
vote
0
answers
48
views
Preprocessor plugin in vite is not called when in library mode
I am working on a project that needs to be exported as a library. I use a custom preprocessor that works fine. Everything builds and runs fine, but when I add the lib entry to the vite.config.js, the ...
1
vote
1
answer
66
views
Laravel Vite still references old build files after running npm run build again
I’m using Laravel + React + Vite, deployed on shared hosting.
The problem is that Laravel keeps referencing old build files (e.g. old hash names in public/build/assets) even after I run npm run build ...
2
votes
2
answers
156
views
new TypeError("Wrong module specifier", "") with react import
I would like to import a simple mui component.
My component:
import Button from "@mui/material/Button";
export default function Bar() {
return <Button variant="contained">...
0
votes
1
answer
52
views
How to properly configure Tailwind v4 with @tailwindcss/vite in a monorepo for shared UI components?
I'm working on a Vue 3 monorepo with the following structure:
packages/
└── ui/
├── src/
│ ├── components/
│ │ └── *.vue
│ └── assets/
│ └── tailwind.css
└── ...
0
votes
0
answers
28
views
Vite built .css file is not being used, page broken as old file is 404
I am using Ubuntu 24.04 and a LEMP stack and vite to host a Laravel 12 application. I am deploying with deployer and running npm run build on the server. Occasionally, I get hit with what seems to be ...
0
votes
0
answers
44
views
MSW intercepts Static assets in Vite
I'm trying to intercept REST API request using MSW, but it keeps hi-jacking static images in public folder
https://mswjs.io/docs/api/is-common-asset-request/
I tried to use isCommonAssetRequest, but ...
0
votes
1
answer
101
views
How can I import an external javascript library (from a CDN) for a website and still have types in my editor?
I'm working in astro which uses vite as its bundler, don't know if that helps.
So basically I have p5.js as a dependency for a sketch I demonstrate on my portfolio site, using the library from npm, ...
0
votes
0
answers
143
views
PWA on Chrome shows line / artifact
A simple PWA works well in Chrome / Android, but if it loses focus by opening another app, and you bring focus back to the pwa, this line above "home" appears. The same thing happens when ...
0
votes
0
answers
59
views
Tailwindcss v4 preflight overrides almost all layers coming afterwards
I'm using tailwindcss v4, and NO tailwind.config.js anymore, so basically CSS first rule.
I use Astro with vite config, and the way I am trying to structure the layers of tailwindcss is failing ...
0
votes
0
answers
34
views
Issue with electron forge
I am building an electron app with preact + typescript with vite tool.
below is my vite config
import { resolve } from 'path'
import obfuscatorPlugin from "vite-plugin-javascript-obfuscator";...
0
votes
1
answer
65
views
Capacitor with plain JS with no build system or UI server
I have an existing web app consisting of plan HTML, Javascript and CSS, and a back-end web server.
Is it possible to use capacitor in this setting? Are there any official examples?
When I follow the ...
0
votes
0
answers
24
views
Mui Data Grid v8 header button not filtering grid
version
my code is using v8.13.1 of mui/x-data-grid with typescript
Scenario/Outcome
I am trying to have both an inline button with each row that will filter the frontend table and call the api to ...
2
votes
0
answers
26
views
Runtime Webworker errors after upgrade from angular 15 to angular 20
We are using webworkers that started throwing runtime exceptions in our prod bundles after the upgrade.
We're creating the worker with:
new Worker(new URL('.worker/worker', import.meta.url)
The error ...