Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tiltysola committed Oct 11, 2020
1 parent 4296741 commit c38ed98
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/electron.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions .github/react.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![Electron](.github/electron.svg) ![React](.github/react.svg)

# Electron RT Boilerplate
> 一个开源的 Electron 开发环境脚手架,使用了 Electron + React + Typescript + Less + Webpack进行构建。
> 代码检查使用了 Eslint ,规则集采用的是 eslint-config-ali ,强制删除不必要的分号。
Expand Down Expand Up @@ -41,7 +43,7 @@ yarn dist
## 其他说明

#### 修改窗口标题
打开 `electron-webpack.json``true` 改为 `"You App Name"` 即可
打开 `electron-webpack.json``Electron RT Boilerplate` 改为 `"You App Name"` 即可

#### 末尾强制以分号结尾(阿里规则)
删除 `.eslintrc.js` 中的下列代码即可
Expand Down
2 changes: 1 addition & 1 deletion electron-webpack.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"title": true,
"title": "Electron RT Boilerplate",
"whiteListedModules": ["react-router-dom"]
}

0 comments on commit c38ed98

Please sign in to comment.