Rich Harris
731d4f535c
skip layout components where none is provided - fixes #312
2018-07-23 16:31:00 -04:00
Rich Harris
f8c731ca21
failing tests for #312
2018-07-23 14:31:11 -04:00
Rich Harris
58de0f9c99
Nested routes
...
Fixes #262
2018-07-22 21:00:37 -04:00
Rich Harris
74acf93c7a
prevent unsafe replacements of preloaded data etc
2018-07-14 20:56:05 -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
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
2205b8aec5
oops
2018-06-28 12:03:27 -04:00
Rich Harris
e87247493f
replace 4xx.html and 5xx.html with _error.html
2018-06-28 11:38:21 -04:00
Rich Harris
57eeb5659a
return a Promise from goto - fixes #270
2018-06-27 17:32:20 -04:00
Rich Harris
0b43eaa992
blur active element on navigation - fixes #287
2018-06-18 22:44:55 -04:00
Rich Harris
9eeeaa24c1
emit a basepath event on first run
2018-06-14 17:20:46 -04:00
Rich Harris
971342ac7a
set preloading: true when appropriate
2018-05-04 23:23:41 -04:00
Rich Harris
8ee5346900
switch to single App component model ( #157 )
2018-05-04 22:46:41 -04:00
Rich Harris
b525eb6480
get tests passing
2018-05-04 17:19:39 -04:00
Rich Harris
9e2d0a7fbc
Merge branch 'master' into collision
2018-05-04 17:05:18 -04:00
Akihiko Odaki
ba7525c676
Ignore files and directories with leading dots except .well-known
2018-05-04 22:18:23 +09:00
Rich Harris
ad7c872ee3
Merge pull request #250 from sveltejs/gh-240
...
implement --launcher
2018-05-03 23:49:06 -04:00
Rich Harris
f4eac2515f
fix tests
2018-05-03 23:23:02 -04:00
Rich Harris
d7a9074c69
implement --launcher
2018-05-03 23:04:05 -04:00
Rich Harris
b10edddc96
cheat
2018-05-03 22:01:14 -04:00
Rich Harris
93b2d12438
Merge branch 'master' into gh-140
2018-05-03 21:54:52 -04:00
Rich Harris
7303e811be
update tests, move test app to v2
2018-05-03 21:54:23 -04:00
Rich Harris
992d89027d
Merge branch 'master' into collision
2018-05-03 21:44:28 -04:00
Akihiko Odaki
917dd60cc3
Allow to have middleware for the path same with a HTML page
...
HTTP allows to change the type of the content to serve by Accept field in
the request. The middleware for the path same with a HTML page will
be inserted before the HTML renderer, and can take advantage of this
feature, using expressjs's "accepts" method, for example.
2018-04-15 23:11:08 +09:00
Akihiko Odaki
b13cc6f39a
Do not encode characters allowed in path when generating routes
...
In RFC 3986, some characters not allowed in query, which encodeURIComponent
is designed for, is allowed in path.
A notable example is "@", which is commonly included in paths of social
profile pages. Such characters should not be encoded.
The new encoding function is conforming to the RFC.
2018-04-14 01:08:27 +09:00
Rich-Harris
45142cd037
fix missing service worker
2018-04-06 14:44:50 -07:00
Rich-Harris
25809ec409
enforce stable sort
2018-03-25 15:12:35 -04:00
Rich Harris
35c30ae2c5
fix server-side fetch paths
2018-03-18 22:36:55 -04:00
Rich Harris
a6b1527fd3
try using mousemove in tests
2018-03-18 21:53:13 -04:00
Rich Harris
1e8d7d10ab
implement this.fetch ( #178 )
2018-03-17 19:21:25 -04:00
Rich Harris
9812cbd71c
add server- and client-side store management ( #178 )
2018-03-17 13:45:59 -04:00
Rich Harris
67463683cc
simplify tests
2018-03-17 13:18:18 -04:00
Rich Harris
b94481b716
Support being mounted on a path — fixes #180
2018-03-17 11:55:02 -04:00
Rich Harris
8ec433581a
a few small tweaks
2018-03-11 12:54:35 -04:00
Rich Harris
ef55fc5ddd
move built files to dist
2018-03-10 23:20:11 -05:00
Rich Harris
254e41b11e
use code-splitting etc
2018-03-10 22:26:53 -05:00
Rich Harris
45b1147228
use devalue instead of serialize-javascript - fixes #112
2018-03-10 19:27:04 -05:00
Rich Harris
1eed1023aa
switch to polka, remove unused deps
2018-03-10 09:39:07 -05:00
Rich Harris
8bb0999878
fix route sorting
2018-03-07 14:26:30 -05:00
Rich Harris
a66ac00d42
tidy up tests
2018-03-05 15:09:51 -05:00
Rich Harris
329c113723
rename preloadRoutes to prefetchRoutes
2018-03-04 22:38:55 -05:00
Rich Harris
b405e5878e
Merge branch 'master' into gh-103
2018-03-04 19:00:28 -05:00
Rich Harris
854147fa6c
URI-encodes routes - fixes #103
2018-03-04 18:59:35 -05:00
Rich Harris
7e2f5f8fb6
add preloadRoutes function - closes #160
2018-03-04 18:05:33 -05:00
Rich Harris
368e6d5cb1
bump timeout for travis
2018-03-04 15:27:35 -05:00
Rich Harris
0165c14fd9
update webpack/config
2018-03-04 12:35:13 -05:00