aboutsummaryrefslogtreecommitdiff
path: root/examples/04-custom-event-handlers/src/app.gleam
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2024-04-16 19:27:19 +0100
committerHayleigh Thompson <me@hayleigh.dev>2024-04-16 19:27:19 +0100
commit3714226d7a0ad4a78e381d9767c3e64d12d6605a (patch)
treead971a72e5590a1ec868a89d096ebdce751c63c7 /examples/04-custom-event-handlers/src/app.gleam
parent0d30e9c35329e2ad4a6277a2b5f4d5115fb4d274 (diff)
downloadlustre-3714226d7a0ad4a78e381d9767c3e64d12d6605a.tar.gz
lustre-3714226d7a0ad4a78e381d9767c3e64d12d6605a.zip
:heavy_plus_sign: Update examples to work with latest lustre_dev_tools release.
Diffstat (limited to 'examples/04-custom-event-handlers/src/app.gleam')
-rw-r--r--examples/04-custom-event-handlers/src/app.gleam10
1 files changed, 1 insertions, 9 deletions
diff --git a/examples/04-custom-event-handlers/src/app.gleam b/examples/04-custom-event-handlers/src/app.gleam
index e5d7fe1..725b04b 100644
--- a/examples/04-custom-event-handlers/src/app.gleam
+++ b/examples/04-custom-event-handlers/src/app.gleam
@@ -6,16 +6,8 @@ import lustre
import lustre/attribute
import lustre/element.{type Element}
import lustre/event
-// 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-example-styles` flag:
-//
-// $ 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.
import lustre/ui
-import lustre/ui/aside
+import lustre/ui/layout/aside
// MAIN ------------------------------------------------------------------------