Dillon Kearns
|
d1b83dbc3b
|
Rename an object key.
|
2020-05-11 16:43:09 -07:00 |
|
Dillon Kearns
|
1e081bff85
|
Remove a log statement.
|
2020-05-11 16:36:58 -07:00 |
|
Dillon Kearns
|
91c3fb2dea
|
Merge branch 'master' into structured-data
|
2020-05-10 15:08:39 -07:00 |
|
Dillon Kearns
|
df5b36d7fb
|
Render loading indicator off to the side of the elm debugger panel.
|
2020-05-09 20:33:32 -07:00 |
|
Dillon Kearns
|
538b76f45c
|
Don't render loading indicator at all outside of dev mode.
|
2020-05-09 15:20:44 -07:00 |
|
Dillon Kearns
|
09402d13c2
|
Remove unused code.
|
2020-05-03 15:48:02 -07:00 |
|
Dillon Kearns
|
21c7588329
|
Use new lifecycle for HMR.
|
2020-05-03 11:40:47 -07:00 |
|
Dillon Kearns
|
bbb6c56729
|
Make sure to get content.json for the current page on hot reload.
|
2020-05-03 07:09:35 -07:00 |
|
Dillon Kearns
|
cb0f4cbed4
|
Generate Pages.elm module from a Webpack plugin so it hooks into the lifecycle more smoothly.
|
2020-05-02 17:22:53 -07:00 |
|
Dillon Kearns
|
27ef7c2491
|
Got hot content reloading working with a different hook.
|
2020-04-14 21:58:16 -07:00 |
|
Dillon Kearns
|
b614a4cd26
|
Run prettier.
|
2020-04-13 15:12:16 -07:00 |
|
Dillon Kearns
|
5aa9fa8c26
|
Merge branch 'master' into content-hot-reloading
|
2020-04-12 15:18:55 -07:00 |
|
Dillon Kearns
|
384fd48de3
|
Working MVP for adding structured data (json-ld).
|
2020-04-10 09:16:24 -07:00 |
|
Dillon Kearns
|
964f9af8ad
|
Use document.baseURI instead of looking up the base tag.
|
2020-03-28 14:05:19 -07:00 |
|
Dillon Kearns
|
e10c062267
|
Fix prefetching by checking if a route is prefetchable based on the how the URL resolves.
Uses https://developer.mozilla.org/en-US/docs/Web/API/URL/URL.
|
2020-03-28 13:02:35 -07:00 |
|
Steven Vandevelde
|
1a5175d0a0
|
Make urls relative using the base element
|
2020-03-10 16:31:28 +01:00 |
|
Dillon Kearns
|
aa42e35376
|
Reload content cache on hot reload updates.
|
2020-02-27 17:51:55 -08:00 |
|
Dillon Kearns
|
fbdcc5ae74
|
Remove log statements.
|
2020-02-01 08:21:02 -08:00 |
|
Dillon Kearns
|
c09410a74c
|
Start elm render mutation observer sooner to make sure pre-rendering doesn't stall.
|
2020-01-31 08:46:18 -08:00 |
|
Dillon Kearns
|
2059dd0e56
|
Merge pull request #61 from dillonkearns/prerender-trigger-after-view-function
Try prerender-trigger event only after body has been updated to make sure Elm has rendered.
|
2020-01-30 11:16:19 -08:00 |
|
Dillon Kearns
|
5de7988e29
|
Try prerender-trigger event only after body has been updated to make sure Elm has rendered.
|
2020-01-28 11:55:32 -08:00 |
|
Dillon Kearns
|
88e4a4df3a
|
Don't prefetch unknown paths.
|
2020-01-27 21:40:30 -08:00 |
|
Steven Vandevelde
|
5c52dd7850
|
Make pagesInit return a Promise
|
2020-01-21 17:06:54 +01:00 |
|
Dillon Kearns
|
07e445b2cc
|
Pass in content.json for current page to ensure there is no "Missing content" message flash.
|
2020-01-20 08:03:42 -08:00 |
|
Dillon Kearns
|
defe0beb33
|
Don't call user's init function during pre-rendering phase.
|
2020-01-20 08:02:46 -08:00 |
|
Dillon Kearns
|
5754bfb186
|
Pass through environment to CLI app for secrets.
|
2019-10-24 08:58:44 -07:00 |
|
Dillon Kearns
|
40089da983
|
Initial prototype to fetch static data.
|
2019-10-15 22:16:49 -07:00 |
|
Dillon Kearns
|
3d3588455d
|
Make sure anchor headings are scrolled into view on page render.
|
2019-09-22 15:51:22 -07:00 |
|
Dillon Kearns
|
5cd1443d17
|
Do content.txt preloads as fetch to make sure they go through service workers.
|
2019-09-17 14:14:13 -07:00 |
|
Dillon Kearns
|
21aa05cc35
|
Comment out some debugging logs.
|
2019-09-17 14:13:52 -07:00 |
|
Dillon Kearns
|
4b9b3a5a3b
|
Fix preloading setup bug.
|
2019-09-17 09:40:35 -07:00 |
|
Dillon Kearns
|
0b7eb041b9
|
Remove unnecessary ts-ignore.
|
2019-09-17 09:21:21 -07:00 |
|
Dillon Kearns
|
50d858bf9f
|
Fix some errors in js code.
|
2019-09-16 18:37:26 -07:00 |
|
Dillon Kearns
|
1bf3213933
|
Setup jsconfig.json to check TypeScript against js files.
|
2019-09-16 15:22:05 -07:00 |
|
Dillon Kearns
|
8eacf1ed92
|
Add meta tag with generator of elm-pages and version number.
|
2019-09-16 14:30:04 -07:00 |
|
Dillon Kearns
|
f544a9c8bc
|
Use MutationObserver to listen for first render and url change render completions.
|
2019-09-14 21:06:13 -07:00 |
|
Dillon Kearns
|
6559dbbf00
|
Extract function for core link prefetch setup logic.
|
2019-09-14 16:55:33 -07:00 |
|
Dillon Kearns
|
98e4d0e071
|
Get link prefetching working on page changes.
|
2019-09-14 16:36:32 -07:00 |
|
Dillon Kearns
|
5f53cb90b5
|
Setup link prefetching for initial page (doesn't load on new page renders yet).
|
2019-09-14 16:22:13 -07:00 |
|
Dillon Kearns
|
958bc73ce9
|
Remove all references to image assets.
|
2019-09-07 12:23:11 +05:30 |
|
Dillon Kearns
|
020228f8ed
|
Use favicons webpack plugin.
|
2019-08-15 15:51:19 -07:00 |
|
Dillon Kearns
|
6ce8a8d0a2
|
Fix the way the elm-pages module was being loaded.
|
2019-08-14 17:42:02 -07:00 |
|
Dillon Kearns
|
77617f388c
|
Add basic boilerplate for running webpack dev server.
|
2019-08-13 16:02:58 -07:00 |
|