Commit Graph

215 Commits

Author SHA1 Message Date
Rich Harris
3d39ef96c2 add segment, params and query to server-rendered pages 2018-07-17 17:21:37 -04:00
Rich Harris
c867f051c2 fix fallback index file 2018-07-17 16:59:13 -04:00
Rich Harris
9e1207cdd7 fix error pages 2018-07-17 16:04:22 -04:00
Rich Harris
f126c6ac6c only replace components for changed segments 2018-07-17 15:42:35 -04:00
Rich Harris
e751cbebd5 once more, with feeling 2018-07-16 19:53:32 -04:00
Rich Harris
6c68b3151c maybe fix some windows errors 2018-07-16 17:54:59 -04:00
Rich Harris
1f66e4c530 all tests passing 2018-07-16 16:23:43 -04:00
Rich Harris
b0b8b78c5d set preloading true when appropriate 2018-07-16 15:25:17 -04:00
Rich Harris
7d3e191e46 identify leaf index.html components 2018-07-16 15:10:46 -04:00
Rich Harris
61e3b6c6a0 handle errors in client 2018-07-16 14:57:49 -04:00
Rich Harris
af0bd1580d handle errors 2018-07-16 14:49:47 -04:00
Rich Harris
34cf953fde use serialized preloaded data 2018-07-16 14:27:13 -04:00
Rich Harris
8299c68678 inject fallback index.html where necessary 2018-07-16 14:18:21 -04:00
Rich Harris
f221281f8a client-side rendering 2018-07-16 14:07:06 -04:00
Rich Harris
9dc5ba569f server-side rendering 2018-07-16 12:06:10 -04:00
Rich Harris
969430716f update manifest generation 2018-07-16 11:21:24 -04:00
Rich Harris
624f17364c tidy up 2018-07-15 23:12:14 -04:00
Rich Harris
c90d8ee3cd more tests 2018-07-15 23:11:08 -04:00
Rich Harris
6c5630f281 add more tests 2018-07-15 22:50:53 -04:00
Rich Harris
bf8e56748a change how routes are created 2018-07-15 22:13:30 -04:00
Rich Harris
5b024f2c8d small tidy up 2018-07-15 22:12:47 -04:00
Rich Harris
1af0f13799 Merge branch 'master' into gh-262 2018-07-14 21:59:39 -04:00
Rich Harris
74acf93c7a prevent unsafe replacements of preloaded data etc 2018-07-14 20:56:05 -04:00
Rich Harris
80ece8b148 delete App.html 2018-07-05 09:04:38 -04:00
Rich Harris
8dc52a04e4 split pages and server routes into separate arrays 2018-07-05 08:14:07 -04:00
Rich Harris
008b607c01 generate pages and server routes separately 2018-07-04 10:53:41 -04:00
Elco Brouwer von Gonzenbach
4f011bfc37 Convert whitespace to tabs. Add some unit tests for create routes 2018-07-02 11:52:17 +07:00
Elco Brouwer von Gonzenbach
6c4ab32cf0 Sync update to sapper 0.14.0 2018-06-29 06:57:01 +07:00
Rich Harris
b7bb4db8c1 treat foo/index.json.js as foo.json.js - fixes #297 2018-06-28 13:20:41 -04:00
Rich Harris
5b5f33d3cf error on 4xx.html and 5xx.html 2018-06-28 12:57:59 -04:00
Rich Harris
9611656b76 Merge pull request #300 from sveltejs/gh-293
[WIP] simplify rendering of error pages
2018-06-28 12:52:41 -04:00
Rich Harris
5c4e4d5d36 only navigate if route is found - fixes #279 2018-06-28 11:45:38 -04:00
Rich Harris
e87247493f replace 4xx.html and 5xx.html with _error.html 2018-06-28 11:38:21 -04:00
Rich Harris
0aeb63a05b simplify rendering of error pages 2018-06-27 18:35:41 -04:00
Rich Harris
57eeb5659a return a Promise from goto - fixes #270 2018-06-27 17:32:20 -04:00
Rich Harris
087356f781 fix req.baseUrl synthesis 2018-06-27 16:57:04 -04:00
Rich Harris
5075981a90 fix handling of fatal errors - fixes #289 2018-06-26 13:49:11 -04:00
Rich Harris
0b43eaa992 blur active element on navigation - fixes #287 2018-06-18 22:44:55 -04:00
Rich Harris
47cdc1c4c8 wait until server restarts before emitting hot reload update 2018-06-18 22:31:10 -04:00
Rich Harris
31c071ad72 Merge branch 'master' of github.com:sveltejs/sapper 2018-06-18 12:22:42 -04:00
Rich Harris
e91edaee12 Merge pull request #286 from sveltejs/invalidate-client-assets
always refresh client_assets in dev
2018-06-18 12:22:37 -04:00
Rich Harris
34c1fee5db Merge branch 'master' of github.com:sveltejs/sapper 2018-06-17 13:02:13 -04:00
Rich Harris
1dafe934b0 initialise rebuild stats 2018-06-17 13:01:51 -04:00
Rich Harris
e1a33c6a9b always refresh client_assets in dev 2018-06-17 13:00:27 -04:00
Rich Harris
0800fa016b emit a fatal event if server crashes 2018-06-16 20:18:32 -04:00
Rich Harris
f0d7a1aaab change fatal events to be clonable, for IPC purposes 2018-06-16 13:49:19 -04:00
Rich Harris
9eeeaa24c1 emit a basepath event on first run 2018-06-14 17:20:46 -04:00
Rich Harris
9c4a3592ff remove some unused code 2018-06-14 16:34:16 -04:00
Elco Brouwer von Gonzenbach
0e2c2ca101 Correct errors in param pattern and matching patterns 2018-06-13 10:00:39 +07:00
Elco Brouwer von Gonzenbach
8015be8069 Correct spacing 2018-06-12 09:15:54 +07:00