renato-rg / electron-react-webpack Goto Github PK
View Code? Open in Web Editor NEWElectron + React 16 + Webpack 4 template with ES6, JSX and hot reloading.
Electron + React 16 + Webpack 4 template with ES6, JSX and hot reloading.
I would like to tell you that this webpack is having some problems in creating a bundle for semantic-ui-react and semantic-ui-css.
I solved it on my system by using this repo. I would like to create a pull request for that support. May I? ๐
how to use webpack add express add electron
Hi,
After following all steps to setup and upon npm start dev
also tried yarn start dev
getting error in console.
// symbol <...> to hide long path string
GET <...>/electron-react-webpack/app/build/bundle.css net::ERR_FILE_NOT_FOUND
GET <...>/electron-react-webpack/app/build/bundle.js net::ERR_FILE_NOT_FOUND
Can you please suggest any resolution?
Hey brothers in code,
I can't get webpack configuration right to run thie application in web browser.
Actually I'm using webpack-dev-server, and I'm really close to it.
The problem is, the application is working smoothly in electron. But the web browser tab returns the following javascript error:
external_"url":1 Uncaught ReferenceError: require is not defined
I tried to play with the webpack.config.js file, changing the target, build options in package.json. But the app still doesnt run in a web browser.
Any kind of help will be greatly appreciated.
--
OxaD
Hi there! Looking for a little assistance with including and using Bootstrap with this boilerplate. I am using Reactstrap and had started by just linking in the bundled Bootstrap CSS in index.html but am finding that won't work when I want to apply both Bootstrap and scoped classes to a single element.
Do you have any recommendations? I played around with using @import
in the global.css file but haven't figured it out yet.
Is it possible to add es6/es7 support ?
Hi,
It seems that this boilerplate is missing the information about how to package the project , so it can be distributed.
I think this should be electron-renderer
?
The template won't build on npm start
, the error follows:
/home/osboxes/test/node_modules/webpack-cli/bin/config-yargs.js:89
describe: optionsSchema.definitions.output.properties.path.description,
^
TypeError: Cannot read property 'properties' of undefined
at module.exports (/home/osboxes/test/node_modules/webpack-cli/bin/config-yargs.js:89:48)
at /home/osboxes/test/node_modules/webpack-cli/bin/webpack.js:60:27
at Object.<anonymous> (/home/osboxes/test/node_modules/webpack-cli/bin/webpack.js:515:3)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
AVDCreateGPUAccelerator: Error loading GPU renderer
after npm start
Hello,
I want to use axios to load some server-data to one of my components. I use the following line of code at the top of the component to import the package: import axios from 'axios';
This gives me the following error in terminal:
ERROR in ./app/src/components/APIController.js Module not found: Error: Can't resolve 'axios' in ......
Hope somebody can help how to import the npm loaded package.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.