Skip to content

Commit

Permalink
Update 3.0-upgrade-notes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonkearns authored Apr 6, 2023
1 parent cda211d commit 6951bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/3.0-upgrade-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
- Copy these files from example repo
- `app/ErrorPage.elm`
- `app/Effect.elm`
- `elm-pages add` is replaced by `elm-pages codegen`
- `elm-pages add` is replaced by `elm-pages run` for running custom scripts - by convention a script/src/AddRoute.elm script is used for scaffolding a new route.
- `elm-pages codegen` command (to create generated files, helpful for build servers) is renamed to `elm-pages gen`
- Route modules exposed value defining the route used to be called `page`, now needs to be `route`
- In `Route.link` function, the `Route` used to be the first argument, it is now the last argument (works nicely if you pipe the Route in as an argument).
Expand Down

0 comments on commit 6951bdb

Please sign in to comment.