Added production build docs
Also move html style to the index.html Closes #1127
This commit is contained in:
parent
c5526851cf
commit
82a37f0e7a
@ -85,6 +85,10 @@ To run this application in Firefox as a packaged app, open "Menu" -> "Developer"
|
||||
|
||||
Run `gulp watch` to watch for file changes and automatically rebuild the app.
|
||||
|
||||
#### Running in production
|
||||
|
||||
Run `gulp clean`, then `gulp publish` to build the minimized production version of the app. Copy `dist` folder contents to your web server. Don't forget to set `X-Frame-Options SAMEORIGIN` header ([docs](https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options)).
|
||||
|
||||
|
||||
### Third party libraries
|
||||
|
||||
|
@ -15,6 +15,12 @@
|
||||
<link rel="stylesheet" href="css/app.css"/>
|
||||
<!-- endbuild -->
|
||||
|
||||
<style>
|
||||
html {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
<!-- <link rel="stylesheet" href="css/font.css"/> -->
|
||||
<!-- <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600&subset=cyrillic,cyrillic-ext,latin,latin-ext" rel="stylesheet" type="text/css"> -->
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
/* app common css */
|
||||
|
||||
html {
|
||||
display: none;
|
||||
background: #e7ebf0;
|
||||
overflow: visible;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
CACHE MANIFEST
|
||||
|
||||
# 64
|
||||
# 65
|
||||
|
||||
NETWORK:
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user