forked from Akkariiin/electron-ssr
-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from xVanTuring/v0.3.0
...
- Loading branch information
Showing
27 changed files
with
1,197 additions
and
832 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,4 @@ build_script: | |
|
||
test: off | ||
|
||
skip_tags: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## How to Build | ||
|
||
### Req | ||
> You will need these to build Electron-SSR | ||
1. node.js | ||
2. yarn | ||
3. network | ||
4. time | ||
5. love | ||
6. passion | ||
7. family | ||
8. friends | ||
9. ... | ||
> Living in CN? \ | ||
> [mirrors for electron](https://npm.taobao.org/mirrors/) | ||
### Build | ||
1. `yarn` | ||
2. `yarn fetch-dep` will fetch 3dparty software like `socks2http`,`windows-kill` | ||
> env variable `http_proxy`, `fetch_proxy` in `socks5`, and `http` will be used as proxy automatically.\ | ||
> Or you can try adding argument `-m` which will use a [github-mirror](http://github-mirror.bugkiller.org/) to download files, but it may be insecure. | ||
3. `yarn electron:build` will build available target, make sure edit it as you need in `vue.config.js` if you are in linux | ||
|
||
### Extra | ||
N/A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,5 +20,5 @@ export default function $t (key, format = null) { | |
} | ||
return raw | ||
} | ||
return dict[key] | ||
return dict[key] || key | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.