Commit Graph

634 Commits

Author SHA1 Message Date
Dillon Kearns
33a10ede33 Add Route.link and Route.toLink helpers. 2021-05-15 10:36:34 -07:00
Dillon Kearns
d2bf1e1204 Add a prefetch attribute. 2021-05-14 19:33:52 -07:00
Dillon Kearns
4c1f70c060 Render manifest at build-time as well as in dev server. 2021-05-14 11:57:40 -07:00
Dillon Kearns
a23dab238b Rename fields. 2021-05-12 07:38:09 -07:00
Dillon Kearns
2fc032fed3 Fix regex pattern for optional route segments. 2021-05-07 07:23:41 -07:00
Dillon Kearns
efddae6bba Use standalone Api.elm module for ApiRoutes. 2021-05-06 10:08:12 -07:00
Dillon Kearns
4d175558ce Remove obsolete generateFiles. 2021-05-06 07:14:49 -07:00
Dillon Kearns
8a9e88bc0c Send 404s for file not found in dev server. 2021-05-05 20:38:59 -07:00
Dillon Kearns
939c307fc0 Update dev server static http cache on api route render. 2021-05-05 11:14:54 -07:00
Dillon Kearns
e2c960fcec Generate manifest.json through new ApiRoute wiring. 2021-05-05 10:57:49 -07:00
Dillon Kearns
4a7279ff7f Serve static folder and static code files before trying to run renderer. 2021-05-05 10:10:09 -07:00
Dillon Kearns
759a43c28b Remove console.time statements. 2021-05-04 20:09:40 -07:00
Dillon Kearns
16b15bf4a4 Wire in initial handling for api requests. 2021-05-04 10:37:37 -07:00
Dillon Kearns
4673565123 Handle index special case in new routeToPath. 2021-04-28 13:42:47 -07:00
Dillon Kearns
a0af3dba38 Remove log statements. 2021-04-28 12:57:50 -07:00
Dillon Kearns
eeea9aff05 Sort routes. 2021-04-28 12:57:16 -07:00
Dillon Kearns
a58dfd3a90 Handle optional splat routers. 2021-04-28 11:55:54 -07:00
Dillon Kearns
f2a212fc60 Handle splat routes. 2021-04-28 10:49:00 -07:00
Dillon Kearns
a0b12d16fd Remove unused function. 2021-04-28 08:35:31 -07:00
Dillon Kearns
da62ada1b9 Fix optional routing regex. 2021-04-28 08:28:31 -07:00
Dillon Kearns
80ffd029eb Use new custom router. 2021-04-27 16:53:20 -07:00
Dillon Kearns
5d8caf5d18 Update scaffold command. 2021-04-26 14:24:56 -07:00
Dillon Kearns
dff859ce08 Simplify handleRoute and remove Maybe wrapper. 2021-04-26 10:11:16 -07:00
Dillon Kearns
eb4f375f16 Update render function. 2021-04-25 21:06:16 -07:00
Dillon Kearns
94d12ce084 Remove unused require. 2021-04-25 20:47:27 -07:00
Dillon Kearns
597c6df357 Remove now obsolete captures data in Glob DataSource. 2021-04-25 20:45:17 -07:00
Dillon Kearns
5635566712 Add setup for elm-doc-preview. 2021-04-24 16:31:10 -07:00
Dillon Kearns
735bdeb2af Fix error in slides project. 2021-04-24 16:10:10 -07:00
Dillon Kearns
38d6b65477 Add serverless request Page builder. 2021-04-24 16:01:31 -07:00
Dillon Kearns
2b78dd89bc Add new Page builder API functions. 2021-04-24 12:47:22 -07:00
Dillon Kearns
6582aa9beb Add missing await. 2021-04-24 07:21:24 -07:00
Dillon Kearns
401f67aed9 Add 2nd terser pass to reduce filesize more. 2021-04-23 23:34:32 -07:00
Dillon Kearns
0d8cc96f74 Use another async variant. 2021-04-23 23:14:40 -07:00
Dillon Kearns
a26b495655 Remove blocking in build command. 2021-04-23 23:06:36 -07:00
Dillon Kearns
8d2b60b2de Remove some blocking commands. 2021-04-23 23:01:04 -07:00
Dillon Kearns
a6e2ab9506 Remove some more blocking commands in build. 2021-04-23 22:49:27 -07:00
Dillon Kearns
7584ce09ef Reduce blocking work in build command. 2021-04-23 22:43:50 -07:00
Dillon Kearns
b16d012670 Unexpose Shared.Msg variants. 2021-04-23 16:52:35 -07:00
Dillon Kearns
521c3c0cc7 Rename StaticData -> Data. 2021-04-23 16:22:23 -07:00
Dillon Kearns
559c4b6337 Rename top-level functions from template -> page. 2021-04-23 15:54:07 -07:00
Dillon Kearns
ba6a3c6af4 Rename Template modules -> Page modules. 2021-04-23 15:46:37 -07:00
Dillon Kearns
d01d8680f5 Use new SEO function with global head tags in render function. 2021-04-23 15:32:07 -07:00
Dillon Kearns
a2d17c26c8 Handle initial content.json errors with hot reloading. 2021-04-23 13:51:12 -07:00
Dillon Kearns
0e8f48bb72 Setup HMR when there is an error on initial load. 2021-04-23 11:37:33 -07:00
Dillon Kearns
1ea3a81316 Show error message when all Page Templates are removed. 2021-04-23 10:17:25 -07:00
Dillon Kearns
ef8728961d Add Head.rootLanguage. Fixes #157. 2021-04-23 08:00:05 -07:00
Dillon Kearns
bd2aeee542 Remove unused code. 2021-04-23 07:11:44 -07:00
Dillon Kearns
11267b5f62 Serve hmr.js from framework assets (not user static folder). 2021-04-22 21:25:02 -07:00
Dillon Kearns
827f4c8f7f Comment out log statement in build. 2021-04-22 16:33:53 -07:00
Dillon Kearns
4c9c365887 File read build errors. 2021-04-22 14:53:47 -07:00