You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This because ```npm start``` runs ```npm run server:dev``` and then the target command, so we have to to pass the ```--env``` by providing two times ```--```.
181
+
This because ```npm start``` runs ```npm run server:dev``` and then the target command, so we have to to pass the ```--env.target``` by providing two times ```--```.
180
182
You can find the configurations in ```<root>/environment```.
181
183
182
184
## HTML5 pushState routing
@@ -189,28 +191,38 @@ extra confuration to enable this.
189
191
Initiate cordova with the following commands:
190
192
```shell
191
193
npm install -g cordova
192
-
npm run cordova:init
194
+
npm run mobile:setup
193
195
```
194
196
195
-
Finally add the following code just before the ```</body>``` closing tag:
196
-
```
197
-
<!-- Cordova -->
198
-
<script src="cordova.js"></script>
199
-
```
197
+
### Run and build
198
+
Cordova takes the ```www``` folder source to create the Cordova app. This ```www``` folder is a symlink to the ```dist``` folder.
199
+
So make sure you run for example ```npm run build``` first before runing/buildinga Cordova app.
200
200
201
-
Cordova has a issue in the way they serve the source code files to the WebView in the platforms. So we have to remove/alter the following code
0 commit comments