@@ -195,7 +195,7 @@ build properties described below:
195
195
| reactHotLoader | Utilize React Hot Loader v3 |
196
196
| persistGraphQL | Generate and use persistent GraphQL queries |
197
197
198
- There are also application config options available in ` app.json ` to aid with debugging GraphQL and SQL:
198
+ There are also application config options available in ` config/ app.js ` to aid with debugging GraphQL and SQL:
199
199
200
200
| Option | Description |
201
201
| ------------- | -------------------------------------- |
@@ -294,7 +294,7 @@ Check [subscription module documentation](src/client/modules/subscription/README
294
294
On the initial web page request back end fully renders UI and hands off Apollo Redux Store state to front end.
295
295
Frontend then starts off from there and updates itself on user interactions.
296
296
297
- If you don't need Server Side Rendering, set ` app .json` ` ssr ` field to ` false `
297
+ If you don't need Server Side Rendering, set ` .spinrc .json` ` ssr ` field to ` false `
298
298
299
299
* Optimistic UI updates
300
300
@@ -306,7 +306,7 @@ Check [subscription module documentation](src/client/modules/subscription/README
306
306
[ Knex] code to access SQLite is included as an example of using arbitrary data source with [ Apollo] and [ GraphQL] .
307
307
NoSQL storage or any other data source can be used the same way.
308
308
309
- [ Debug SQL] Prints out execuded queries, with respective times in development mode and can be set in ` app.json ` by
309
+ [ Debug SQL] Prints out execuded queries, with respective times in development mode and can be set in ` config/ app.js ` by
310
310
` debugSQL ` field ` true `
311
311
312
312
* Powerful stylesheets with Hot Reloading
@@ -329,7 +329,7 @@ Check [subscription module documentation](src/client/modules/subscription/README
329
329
* [ React Hot Loader v3] for the sake of completeness this project also supports ` React Hot Loader v3 ` , but it is turned
330
330
off. By default this starter kit uses pure ` Webpack HMR ` for all hot reloading purposes and we think it covers all
331
331
practical needs during development and using ` React Hot Loader v3 ` in addition to ` Webpack HMR ` makes hot reloading
332
- less predictable and buggy. To turn ` React Hot Loader v3 ` on: set ` reactHotLoader ` field of ` app .json` to ` true ` .
332
+ less predictable and buggy. To turn ` React Hot Loader v3 ` on: set ` reactHotLoader ` field of ` .spinrc .json` to ` true ` .
333
333
334
334
* [ PersistGraphQL Webpack Plugin] is a tool to gather static GraphQL queries for GraphQL projects and inject them into
335
335
build. It will make front end and back end aware of static queries used in the project and will only allow these
@@ -428,14 +428,14 @@ yarn start
428
428
429
429
### Publishing mobile apps
430
430
431
- 1 . Compile project for production with ` ios ` and ` android ` set to ` true ` in ` app .json` via ` yarn build ` .
431
+ 1 . Compile project for production with ` ios ` and ` android ` set to ` true ` in ` .spinrc .json` via ` yarn build ` .
432
432
2 . Run ` yarn exp publish ` to publish, the URL like:
433
433
[ ` https://exp.host/@vlasenko/apollo-universal-starter-kit ` ] ( https://exp.host/@vlasenko/apollo-universal-starter-kit )
434
434
where your users can access mobile app from Expo Client will be printed in terminal.
435
435
436
436
### Building standalone mobile apps for Play Store and App Store
437
437
438
- 1 . Compile project for production with ` ios ` and ` android ` set to ` true ` in ` app .json` via ` yarn build ` .
438
+ 1 . Compile project for production with ` ios ` and ` android ` set to ` true ` in ` .spinrc .json` via ` yarn build ` .
439
439
2 . Run ` yarn exp ba ` to launch building signed ` .apk ` or ` yarn exp bi ` for signed ` .iap ` .
440
440
3 . Run ` yarn exp bs ` to get status and links for signed standalone mobile applications when build finishes. For more
441
441
details refer to [ Expo Build standalone apps documentation] , but use ` yarn exp .. ` instead of ` exp ... ` command.
0 commit comments