aboutsummaryrefslogtreecommitdiff
path: root/examples/05-http-requests/src/app.gleam
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2024-03-24 21:12:12 +0000
committerHayleigh Thompson <me@hayleigh.dev>2024-03-24 21:18:56 +0000
commit02007717a195878c56abd5f7b4909f3d10f0e1de (patch)
tree264fe7c463fcc80f36f6376c7e50b2e391c2c0db /examples/05-http-requests/src/app.gleam
parent65f32e8df1a49e469e559bda89bcc3279772d0d8 (diff)
downloadlustre-02007717a195878c56abd5f7b4909f3d10f0e1de.tar.gz
lustre-02007717a195878c56abd5f7b4909f3d10f0e1de.zip
:recycle: Update examples to use new lustre_dev_tools package.
Diffstat (limited to 'examples/05-http-requests/src/app.gleam')
-rw-r--r--examples/05-http-requests/src/app.gleam8
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/05-http-requests/src/app.gleam b/examples/05-http-requests/src/app.gleam
index 9fd518c..04e0af6 100644
--- a/examples/05-http-requests/src/app.gleam
+++ b/examples/05-http-requests/src/app.gleam
@@ -8,15 +8,13 @@ import lustre/element/html
import lustre/event
// Lustre_http is a community package that provides a simple API for making
// HTTP requests from your update function. You can find the docs for the package
-// here:
-//
-// https://hexdocs.pm/lustre_http/index.html
+// here: https://hexdocs.pm/lustre_http/index.html
import lustre_http.{type HttpError}
// These examples are written with `lustre/ui` in mind. They'll work regardless,
// but to see what `lustre/ui` can do make sure to run each of these examples with
-// the `--use-lustre-ui` flag:
+// the `--use-example-styles` flag:
//
-// $ gleam run -m lustre dev --use-lustre-ui
+// $ gleam run -m lustre/dev start --use-example-styles
//
// In your own apps, make sure to add the `lustre/ui` dependency and include the
// stylesheet somewhere.