mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-27 11:05:46 +03:00
Update docs.
This commit is contained in:
parent
75fdb62684
commit
92ed0a37b0
@ -1,6 +1,10 @@
|
||||
module Pages.PageUrl exposing (PageUrl, toUrl)
|
||||
|
||||
{-|
|
||||
{-| Same as a Url in `elm/url`, but slightly more structured. The path portion of the URL is parsed into a [`Path`](Path) type, and
|
||||
the query params use the [`QueryParams`](QueryParams) type which allows you to parse just the query params or access them into a Dict.
|
||||
|
||||
Because `elm-pages` takes care of the main routing for pages in your app, the standard Elm URL parser API isn't suited
|
||||
to parsing query params individually, which is why the structure of these types is different.
|
||||
|
||||
@docs PageUrl, toUrl
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user