Commit Graph

21 Commits

Author SHA1 Message Date
Dillon Kearns
d59c57ac01 Delete obsolete code (superceded by fetchRouteData). 2022-04-04 16:15:06 -07:00
Dillon Kearns
3e12b48112 Update template project. 2022-03-09 15:06:49 -08:00
Dillon Kearns
f49595a578 Change elm-pages setup code so it works on root route (Vite had an issue loading it from a script module import). 2022-02-23 12:20:38 -08:00
Dillon Kearns
8ee5b2a649 Add missing. (+2 squashed commits)
Squashed commits:
[ea4646e3] Fix two errors.
[31faf674] Add initial Vite SSR setup.
2022-02-21 09:30:31 -08:00
Dillon Kearns
fbcbfa3c27 Add optional body parameter to reload page data port in order to avoid an extra round trip for form POST. 2022-02-17 11:52:21 -08:00
Dillon Kearns
69cdf963cf Remove some instances of content.json. 2022-02-03 20:08:45 -08:00
Dillon Kearns
159c075324 Send content.dat updates for hot reloading. 2022-02-03 11:51:17 -08:00
Dillon Kearns
103433ade6 Use Lamdera Wire decoders to decode initial page data from flags. 2022-02-01 17:59:57 -08:00
Dillon Kearns
fcdd39b910 Use byte encodings for content.dat in dev server. 2022-02-01 10:11:47 -08:00
Dillon Kearns
cfbbf71bf5 Check if port is defined before subscribing to avoid error if port is unused. 2022-01-29 09:15:19 -08:00
Dillon Kearns
21d9ae9e35 Add port to reload current page's data. 2022-01-25 11:20:18 -08:00
Dillon Kearns
bf67cff13e Rename TemplateModulesBeta.elm entrypoint file -> Main.elm. 2021-12-23 14:28:52 -08:00
Dillon Kearns
eadabe1513 Remove log statement. 2021-07-26 17:06:46 -07:00
Dillon Kearns
4ede380fab Remove baseUrl from model, parse Path into the actual path including the base URL. 2021-07-19 20:59:42 -07:00
Dillon Kearns
33c62aaeaf Try initial content.json in a script tag. 2021-06-25 08:03:25 -07:00
Dillon Kearns
f1750de106 Simplify elm-pages.js code. 2021-06-24 15:55:41 -07:00
Dillon Kearns
82e0d34afd Add flags. 2021-05-17 12:51:04 -07:00
Dillon Kearns
d2bf1e1204 Add a prefetch attribute. 2021-05-14 19:33:52 -07:00
Dillon Kearns
e94d9b0cf7 Make sure connect is defined before running it. 2021-04-17 21:21:17 -07:00
Dillon Kearns
7a019036ec Use module.hot.apply API to update content json when the new app is ready to receive ports. 2021-04-11 15:35:02 -07:00
Dillon Kearns
a6514b844f Serve assets with npm package that does streaming and mime type handling. Serve up some files from the file system for simlicity. 2021-04-09 12:00:24 -07:00