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 #186

Open
5 tasks done
Tracked by #203
hhstore opened this issue Mar 31, 2020 · 7 comments
Open
5 tasks done
Tracked by #203

Electron #186

hhstore opened this issue Mar 31, 2020 · 7 comments

Comments

@hhstore
Copy link
Owner

hhstore commented Mar 31, 2020

related:

@hhstore
Copy link
Owner Author

hhstore commented Mar 31, 2020

Electron:

About 作者:

书单:

electron-in-action:

可使用资源:

  • 自身 API
  • nodejs API + 库

原生Node.js模块 (即指,需要编译源码过后才能被使用的模块) 需要在编译后才能和Electron一起使用。
绝大多数的Node.js模块都不是原生的, 在650000个模块中只有400是原生的

  • 前端 js 各种库: vue.js /react.js 已经其他
  • HTML5/CSS3 + ES6/TypeScript

docs:

API:

awesome 列表:

工具&组件&库:

客户端打包工具:

@hhstore
Copy link
Owner Author

hhstore commented Aug 12, 2020

electron + vue.js + typescript 教程:

require:

npm install -g yarn
# 使用 npm:
npm install -g @vue/cli

# 使用 yarn 安装2个包:
yarn global add @vue/cli
yarn global add @vue/cli-init

vue --version

npm update -g @vue/cli

# OR
yarn global upgrade --latest @vue/cli

创建项目目录:


# Install vue-cli and scaffold boilerplate
npm install -g vue-cli

# 创建项目目录: 
vue init simulatedgreg/electron-vue my-project

# Install dependencies and run your app
cd my-project

# 安装依赖包:
yarn 

# or 
npm install

# 启动开发环境: 
yarn run dev 

# or
npm run dev

启动报错解决:

-> % node -v
v12.13.1


@hhstore hhstore mentioned this issue Aug 13, 2020
6 tasks
@hhstore
Copy link
Owner Author

hhstore commented Aug 15, 2020

其他替代方案:

精选方案:

golang cross platform gui github

go + PWA:

go + flutter:

therecipe/qt:

fyne:

robotgo:

This was referenced Aug 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant