-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webpack-dev-server stops access to local files #22
Comments
Hi Kyle, I'm actually having the same issue trying to reference image references. Were you able to find a solution to the |
Hi Kyle,
and import this component and use the individual image. You can use something like - |
Hey mate, thanks so much for the boilerplate, it's fantastic.
I had started a prototype of an Electron app before using your boilerplate, on the prototype I had a simple onDrop function that gave me a path in the event:
e.dataTransfer.files
This has a paths like so:
/Users/kylewetton/Desktop/some_image.jpg
Works well!
However, in your boilerplate because of the web-server, my function results in a path like this
http://localhost:8080/Users/kylewetton/Desktop/some_image.jpg
Am i able to reference local files while the server is running? I'm definitely in my 'stumble around until I find a solution' stage of Electron and Node in general so hopefully this is something that is easy to circumvent.
The text was updated successfully, but these errors were encountered: