Skip to content
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

原生支持 electron #102

Closed
Diablohu opened this issue Apr 28, 2019 · 1 comment
Closed

原生支持 electron #102

Diablohu opened this issue Apr 28, 2019 · 1 comment
Labels
bundling process enhancement New feature or request

Comments

@Diablohu
Copy link
Member

Diablohu commented Apr 28, 2019

Koot 配置

type: 'react-spa',
target: 'electron',

Webpack 配置

target: 'electron-renderer'

NPM 命令

  • koot-start -> 生产环境打包,之后启动 Electron
  • koot-dev -> 启动 webpack-dev-server,之后启动 Electron
    • Electron 关闭同时退出开发环境
@Diablohu
Copy link
Member Author

需要支持图片生成 #108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bundling process enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant