Actions
Task #93
closedFrontend base configuration
Start date:
08/16/2016
Due date:
% Done:
100%
Estimated time:
8.00 h
Owner:
Description
Now is possible to cofigure frontend only before build in profile configuration files. After build is configuration included in app.js artifact and is not user frienly to change it. We need to include base configuration in index.html as global javascript variables or import external javascript file with this configuration, e.g.:
```
<body>
....
<section id="config">
<script>
var serverUrl = '{serverUrl}';
</script>
</section>
....
</body>
```
This configuration will be filled from profile configuration file. Property serverUrl could be overidden through gulp parameter (e.g. gulp build --serverUrl <http://server.com/api>).
Actions