Skip to content

Conversation

@HyunmoAhn
Copy link
Owner

@HyunmoAhn HyunmoAhn commented Oct 16, 2018

Purpose

To using library in renderer process like this

Speciality for electron

  • import for webpack-dev-server

    • For hot-load in renderer process that is builded by webpack, must import in html above like code.
    • Because webpack-dev-server doen't make html. Must use page/timer.html. It will be change when production build.
  • run two process for main and renderer

    • We need to run two process. one is main process using node-mon and another is renderer process using webpack-dev-server. If doesn't use spwan and before method, you must run two terminal and two command. Above code make run once.
  • It may be need to build on production [1]. [2] production build setting will config after the make timer feature.

Todo after

Just develop feature of timer!

It will run different way. main is run electorn and page is run webpack.
may be need to some webpack experience.
@HyunmoAhn HyunmoAhn changed the title Setting/bundler webpack Apply bundler for renderer process using webpack Oct 16, 2018
@HyunmoAhn HyunmoAhn merged commit f5f4078 into master Oct 16, 2018
@HyunmoAhn HyunmoAhn added the Reference Reference to initialize electron project label Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reference Reference to initialize electron project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants