Skip to main content
0 votes
0 answers
27 views

How to debug a monorepo in VS Code with multiple workspaces at same time?

How can I debug a monorepo with multiple workspaces in VS Code during development at the same time? Workspace1: /packages/framework -> will be included in an npm package later Workspace2: /apps/...
PowerNow's user avatar
  • 393
0 votes
2 answers
71 views

Dynamic meta tags not showing correctly when sharing on WhatsApp [closed]

I’ve built a React project using Vite, and I’m working on improving SEO and link previews. I’m using React Helmet to dynamically update the meta title and description based on the current route. When ...
nandyala Dinesh's user avatar
-1 votes
0 answers
37 views

React Router build error: No matching export in react-router/dist/development/index.mjs for import ‘UNSAFE_useRoutesImpl’ [closed]

I cloned a React & Vite project and tried to run it using npm run dev, but I'm getting multiple build errors from React Router. Error Code What I Try : Deleted node_modules, .vite, and package-...
Junesh Kumar's user avatar
-1 votes
0 answers
43 views

Why does Vite automatically insert <link rel="preload" as="image"> tags for images and how can I disable or control it? [closed]

I’m using Vite + React with both SSR and SPA builds. When I run the dev server or build for production, Vite automatically injects image preload tags like this: <div id="root"> <...
Андрей Уваров's user avatar
0 votes
1 answer
39 views

Environment Variables not getting picked

I am trying to deploy a Vite based react application on the cloud run through the github repo which uses the below docker file. Although I have kept environment variable in the deployment ...
Ekansh Saxena's user avatar
0 votes
0 answers
27 views

Trouble Installing Tailwind [duplicate]

I’m using a MacBook Pro and I’m trying to install Tailwind, but it’s not working. When I run: npm install tailwindcss @tailwindcss/postcss postcss npx tailwindcss init -p I get the following error: ...
Blanc18's user avatar
0 votes
0 answers
22 views

Sass + PurgeCSS + SvelteKit: properly hash filenames

I have some code using SvelteKit for JS, Sass (with Bootstrap) for CSS, optimized with PurgeCSS, and compiled with Vite. Here my vite.config.js: import { sveltekit } from '@sveltejs/kit/vite'; import {...
madbob's user avatar
  • 660
-3 votes
1 answer
90 views

Is it possible to use the "/" route for a controller in Laravel with Inertia? [closed]

What I want to set up in .\routes\web.php is something like Route::resource('/main', CallController::class); So, if user goes to www.sitename.com/, the index of CallController should be executed and ...
Andrii's Quest's user avatar
0 votes
0 answers
15 views

Custom Vue component referenced in vitepress home page front matter isn't rendering

I've written a custom text rotator Vue component that does a marquee style rotation over a list of strings for use in the home page of a Vitepress Website. I want to use it in the hero.text field of ...
Scott Deerwester's user avatar
2 votes
1 answer
151 views

Nuxt 4 + tailwindcss + directus gettng error "500 Cannot redefine property: _path"

So I'm trying to do a project in Nuxt 4, and I got a problem when I try to edit any CSS element. It just crashes to 500 Cannot redefine property: _path I tried changing node version because I found ...
Tin's user avatar
  • 25
1 vote
0 answers
26 views

Module federation problem, host build with Vite and remote build with CRA

How can I setup a module federation for my project, I have a React Vite app as host and CRA remote app. Do you know an easy setup, do I need to use craco in remote ? I installed craco, and had this is ...
Azer Bouhaouel's user avatar
1 vote
1 answer
86 views

Tailwind CSS not applying cursor-pointer automatically to <a> and <button> in React + Vite

I'm using Tailwind CSS with React and Vite. I noticed that I have to manually add cursor-pointer to <a> and <button> elements for the pointer cursor to appear. I thought Tailwind would ...
Pawan Saini's user avatar
2 votes
0 answers
90 views

TypeScript compilation fails with "JSX element implicitly has type 'any'" and "Cannot find module 'react'" errors in React project

My React with TypeScript project was building successfully but now I'm getting TypeScript compilation errors when running npm run build: JSX errors: JSX element implicitly has type 'any' because no ...
d3n1ls's user avatar
  • 21
-1 votes
1 answer
31 views

Deno Deploy build artifacts unexpectedly large (101 MB) despite assets <1 MB for react + vite SPA

I’m deploying to Deno Deploy, and I noticed that the generated build artifacts grows with each buld. it was ~101 MB, now it is 150 MB. my actual assets are less than 1 MB. I use Deno + Vite + React (...
Arseniy-II's user avatar
  • 9,349
0 votes
0 answers
31 views

How to deploy(bundle) custom JS and Modules from Rails-Engine in Rails Application using Vite-Rails

Given the following setup: Rails Gem with mountable Engine containing some common functionality using Ruby- and Javascript-Code. Javascript is mainly used in Stimulus-Controllers Rails 8 Application ...
Piezo Pea's user avatar
  • 132

15 30 50 per page
1
2 3 4 5
467