Commit Graph

3168 Commits

Author SHA1 Message Date
Dillon Kearns
17d1324e84 Fix docs. 2021-10-16 09:23:22 -07:00
Dillon Kearns
3ece0dddc5
Merge pull request #237 from j-maas/fix-manifest-missing-base
Fix manifest URL missing base
2021-10-16 09:19:33 -07:00
Dillon Kearns
267a94d1cd Add virtual-dom dependency in example project. 2021-10-16 09:13:50 -07:00
Dillon Kearns
26caa69929 Run snapshot tests from top-level npm test command. 2021-10-16 09:10:20 -07:00
Dillon Kearns
505d326783 Update snapshot test output from a Mac machine (doesn't have incorrect backslash characters). 2021-10-16 09:06:58 -07:00
Dillon Kearns
8bca5e3555
Merge pull request #239 from zeshhaan/patch-1
Add clarity on installing dependencies
2021-10-16 08:52:46 -07:00
Dillon Kearns
6e7fb1e583
Update 02-getting-started.md 2021-10-16 08:51:52 -07:00
Dillon Kearns
075f5a39da Add new glob helper function. 2021-10-13 11:26:19 -07:00
Dillon Kearns
9cf98f1177 Update references to Template Modules in docs to new term Page Module. 2021-10-13 11:08:56 -07:00
Dillon Kearns
3884e86c37
Update 06-page-modules.md 2021-10-10 09:01:43 -07:00
Dillon Kearns
f1a564da03
Update slides.md 2021-10-10 08:58:28 -07:00
Dillon Kearns
2d4350362a
Merge pull request #241 from dillonkearns/lazy-rendering
Handle Html.Lazy in HTML pre-rendering
2021-10-07 13:18:32 -07:00
Dillon Kearns
51acc3263c Extract constant. 2021-10-07 13:15:25 -07:00
Dillon Kearns
a4b523c805 Delete unused module. 2021-10-07 13:10:12 -07:00
Dillon Kearns
9d7438bb87 Delete commented line. 2021-10-07 13:10:06 -07:00
Dillon Kearns
d196cca9a2 Remove unused. 2021-10-07 13:06:26 -07:00
Dillon Kearns
c25f18610c Fix review errors. 2021-10-07 12:11:23 -07:00
Dillon Kearns
b876f06139 Test escaping examples both with and without --debug flag. Fix output without debug flag. 2021-10-07 12:05:13 -07:00
Dillon Kearns
17f1c6460f Update test output. 2021-10-07 12:00:38 -07:00
Dillon Kearns
cc4debb947 Install virtual-dom dependency in projects. 2021-10-07 11:58:15 -07:00
Dillon Kearns
99da8d8ebe Delete temporary test harness. 2021-10-07 11:56:09 -07:00
Dillon Kearns
36e8a1f8cd Show lazy and non-lazy in example. 2021-10-07 11:54:40 -07:00
Dillon Kearns
5e25ccbd01 Comment out lazy example for now. 2021-10-07 11:53:25 -07:00
Dillon Kearns
204b368058 Port 440b3f28b7 over to elm-explorations/test implementation. 2021-10-07 11:53:17 -07:00
Dillon Kearns
34b5820a17 Port over property name mapping from 2ea1898620 to elm-explorations/test implementation. 2021-10-07 11:48:36 -07:00
Dillon Kearns
3275b7cb5f Port over fix from 440b3f28b7 to elm-explorations/html implementation. 2021-10-07 11:42:52 -07:00
Dillon Kearns
49ce1d998b Use kernelConstants. 2021-10-07 11:36:43 -07:00
Dillon Kearns
c91b01d5a4 Port over HTML to string helpers from elm-explorations/test. TODO - still need to port the escaping fixes I did to the elm-explorations/test implementation. 2021-10-07 11:34:08 -07:00
Mohammed Zeeshan
40bf70e856
Add clarity on installing dependencies
As a newcomer to Elm, i couldn't start elm-pages to work after following the steps. I later figured out that many had the same starting issue (like https://discourse.nixos.org/t/installing-elm-pages-and-other-packages-that-depend-on-elm/8525/3 and https://issueexplorer.com/issue/dillonkearns/elm-pages-starter/29) and i though it would have been of great benefit if this missing piece is included.
2021-10-05 22:50:52 +05:30
Johannes Maas
6a38275faf Commit .html output for test 2021-10-03 11:32:21 +02:00
Johannes Maas
6bbfed04f8 Create base-path example for test 2021-10-03 11:17:50 +02:00
Dillon Kearns
863e0318a8 Turn of elm-review-action now since it seems to be giving incorrect results. 2021-10-02 17:11:29 -07:00
Dillon Kearns
81fbbb6518 Add missing closing quote. 2021-10-02 16:54:32 -07:00
Dillon Kearns
6e6e0beeb0 Run prettier on file. 2021-10-02 16:53:16 -07:00
Dillon Kearns
5e5962ab25 Update escaping test output. 2021-10-02 16:52:21 -07:00
Johannes Maas
0359f916d4 Fix manifest URL missing base 2021-10-02 19:27:52 +02:00
Johannes Maas
b445856ad2 Use Posix-style separators in head tags
Previously, on Windows some <head> tags contained backslashes as separators.
2021-10-02 19:17:46 +02:00
Johannes Maas
cbad8ad8ad Fix empty base handling 2021-10-02 17:26:05 +02:00
Johannes Maas
42e465b4d8 Document why req.url is always the path 2021-10-02 17:02:25 +02:00
Johannes Maas
483381aaaa Fix base middleware infix detection and refactor it 2021-10-02 16:52:42 +02:00
Johannes Maas
1c83d4e219 Fix deprecated URL parsing 2021-10-02 16:45:21 +02:00
Johannes Maas
1b3859ab9a Fix error message for invalid base 2021-10-02 15:29:51 +02:00
Johannes Maas
beca0367e3 Refactor base normalization 2021-10-02 15:29:26 +02:00
Y0hy0h
7ba44a27af Fix issues with trailing slashes in the base 2021-10-02 14:55:25 +02:00
Dillon Kearns
05b8684da4 Use latest elm-optimize-level-2. 2021-09-29 15:55:56 -07:00
Dillon Kearns
59ce1bf390
Merge pull request #233 from supermario/master
Clarify hardcoded values are not masked.
2021-09-29 07:47:14 -07:00
Mario Rogic
ee0fcd43b8
Clarify hardcoded values are not masked. 2021-09-28 19:45:28 +01:00
Dillon Kearns
0fd02b8b2c Fix tests. 2021-09-27 10:48:49 -07:00
Dillon Kearns
9a6e3d9824 Fix error passing in site config. 2021-09-27 10:45:48 -07:00
Dillon Kearns
5ed983a92f Allow some more dead-code elimination in browser Elm code through the generated code stripping off some CLI-only code. 2021-09-27 10:19:49 -07:00