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.
|
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
|
### Third party libraries
|
||||||
|
|
||||||
|
@ -15,6 +15,12 @@
|
|||||||
<link rel="stylesheet" href="css/app.css"/>
|
<link rel="stylesheet" href="css/app.css"/>
|
||||||
<!-- endbuild -->
|
<!-- endbuild -->
|
||||||
|
|
||||||
|
<style>
|
||||||
|
html {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<!-- <link rel="stylesheet" href="css/font.css"/> -->
|
<!-- <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"> -->
|
<!-- <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 */
|
/* app common css */
|
||||||
|
|
||||||
html {
|
html {
|
||||||
display: none;
|
|
||||||
background: #e7ebf0;
|
background: #e7ebf0;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
CACHE MANIFEST
|
CACHE MANIFEST
|
||||||
|
|
||||||
# 64
|
# 65
|
||||||
|
|
||||||
NETWORK:
|
NETWORK:
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user