aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2024-03-26 00:10:01 +0000
committerHayleigh Thompson <me@hayleigh.dev>2024-03-26 00:10:01 +0000
commit6eebe748b1f5795ab467c65a4ae17364055484c8 (patch)
tree93ae840c0db5ae29728e2e827dc8835b0932c49b /examples
parent38d8535cf48ca5aa5edc8fe8f06f1ad32526b8b9 (diff)
downloadlustre-6eebe748b1f5795ab467c65a4ae17364055484c8.tar.gz
lustre-6eebe748b1f5795ab467c65a4ae17364055484c8.zip
:memo: Remove references to old '--use-lustre-ui' flag.
Diffstat (limited to 'examples')
-rw-r--r--examples/06-custom-effects/src/app.gleam4
-rw-r--r--examples/99-server-components/src/counter.gleam8
2 files changed, 2 insertions, 10 deletions
diff --git a/examples/06-custom-effects/src/app.gleam b/examples/06-custom-effects/src/app.gleam
index 7ee0096..5399903 100644
--- a/examples/06-custom-effects/src/app.gleam
+++ b/examples/06-custom-effects/src/app.gleam
@@ -6,9 +6,9 @@ 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-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.
diff --git a/examples/99-server-components/src/counter.gleam b/examples/99-server-components/src/counter.gleam
index c1a4469..ff3d6ed 100644
--- a/examples/99-server-components/src/counter.gleam
+++ b/examples/99-server-components/src/counter.gleam
@@ -4,14 +4,6 @@ import lustre/attribute
import lustre/element.{type Element}
import lustre/element/html
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-lustre-ui` flag:
-//
-// $ gleam run -m lustre dev --use-lustre-ui
-//
-// In your own apps, make sure to add the `lustre/ui` dependency and include the
-// stylesheet somewhere.
import lustre/ui
// MAIN ------------------------------------------------------------------------