365体育足球滚球比分

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

SCSS loading error while building React application

I am trying to build a React application using Webpack. I get this error, connected with main SCSS file: ERROR in ./resources/scss/style.scss (./node_modules/css-loader/dist/cjs.js??ref--6-2!./...
0
votes
0answers
9 views

What exactly needs to be done to introduce webpack config to an existing spring boot/react app

I'm trying to make a simple web app with spring boot and react. I used eirslett frontend plugin to combine it. But now I want to implement webpack history catch all so that reloading doesn't bring 404....
0
votes
0answers
5 views

Gatsby + React Booking Calendar: “WebpackError: ReferenceError: self is not defined ”on 'gatsby build' but 'gatsby develop' works fine

I'm using Gatsby to build a website. I've added React Booking Calendar to display some calendar data. Running 'gatsby develop' works fine but running 'gatsby build' yields the following error: ...
0
votes
0answers
12 views

CORS: proxying localhost via webpack-dev-server to external API

I'm building simple react-powered contact page and it would be swell if I could test email sending from my local development machine. I'm using Zoho Email API, which I tested with curl and Insomnia - ...
0
votes
1answer
21 views

Use two different React/React-Dom versions in project

I'm in an extremely weird situation where the project structure looks like: Project MiniProject1 MiniProject2 node_modules package.json The mini projects themselves are react apps that get shown ...
0
votes
0answers
11 views

Throw error on missing imports (JSX/Webpack)

We have a simple setup of Webpack 4 / Babel 7 in a React app. I would expect if an import is missing in one of the JSX files - Webpack would kill the build but we came across cases, for example: ...
1
vote
2answers
24 views

How dispaly an svg on the option of select with ReactJs?

I have a select flags which the options are the img (which src are svg) My codeSandbox. Config.default = "fr"; Config.list = { de: { text: "Deutsch", icon: require("./images/de.svg") }, ...
0
votes
0answers
15 views

CSS bundling not working with MiniCssExtract plugin and css-loader (Webpack)

I'm working on a MERN project and I'm using sass for styling. To handle bundling of scss files I use Node Sass Midleware and everything works fine. Now I want to use a react component (react-multi-...
0
votes
0answers
8 views

Specifying “target” in webpack config as “electron-renderer” gives an error “window is not defined” while building with next build

In order to use "ipcRenderer" inside renderer process in my electron app, I have specified target as "electron-renderer" in my webpack config. Before specifying target it was not allowing me to import ...
0
votes
0answers
8 views

Start React bundled files in ASP.NET Core SPA

i have ASP.NET CORE 3.1 Web App with React ClientApp and web API and SQLITE on back-end. untill now i had the template of visual studio launching using react scripts like this: Startup.cs file: app....
0
votes
1answer
16 views

How do deploy a site on netlify thats build with webpack commands?

I am trying to deploy my site on netlify. But every time I run npm run build no build folder is created. "build": "webpack --mode production" Is the command I'm using I got the site to deploy but ...
2
votes
1answer
47 views

componentDidMount life cycle method is called twice in react

In my react application, the initial API call is made twice when the application gets loaded. I looked at the Network tab in Chrome->inpsect, the 'initiator' call stack is showing that the first call ...
1
vote
1answer
22 views

why importing CSSRulePlugin in Next.js results in error?

I am trying to use GSAP library in my Next.js project i downloaded the npm version of the library from react jsap. but when i import it like this: import { gsap } from "gsap"; import { ...
0
votes
0answers
11 views

Codesandbox Template: Express / Webpack deployable to Vercel

I have been on the hunt for a base template which has Express + React (ideally with webpack) and is deploy-able to Vercel through code sandbox. All of the sample templates I have founds will not ...
0
votes
0answers
46 views

React.lazy not working in production mode

I have a react app running, and I wanted to add route based code-splitting using React.lazy to it. Currently my code is, import { PureComponent, cloneElement, Suspense, lazy } from 'react'; ... ...

15 30 50 per page
1
2 3 4 5
521