aboutsummaryrefslogtreecommitdiff
path: root/examples/01-hello-world
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2024-03-16 23:41:38 +0000
committerHayleigh Thompson <me@hayleigh.dev>2024-03-17 17:12:10 +0000
commit4aeb451d32d7ad94a5a4111543584a1430cd4571 (patch)
treef64480f138db3fca9a4e9bb97e2fcdb883aa4241 /examples/01-hello-world
parent3de8e6e7782b21da3d4efa2e9592634307980d22 (diff)
downloadlustre-4aeb451d32d7ad94a5a4111543584a1430cd4571.tar.gz
lustre-4aeb451d32d7ad94a5a4111543584a1430cd4571.zip
:recycle: Rename '--include-styles' flag to '--use-lustre-ui' for clarity.
Diffstat (limited to 'examples/01-hello-world')
-rw-r--r--examples/01-hello-world/README.md4
-rw-r--r--examples/01-hello-world/src/app.gleam4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/01-hello-world/README.md b/examples/01-hello-world/README.md
index aabaab2..c7b5bbc 100644
--- a/examples/01-hello-world/README.md
+++ b/examples/01-hello-world/README.md
@@ -71,10 +71,10 @@ with Lustre ASAP. Each of these examples have been written to use elements from
that package.
Lustre's development server can be configured to include the `lustre/ui` stylesheet
-by passing the `--include-styles` flag:
+by passing the `--use-lustre-ui` flag:
```sh
-$ gleam run -m lustre dev --include-styles
+$ gleam run -m lustre dev --use-lustre-ui
```
It's not necessary to use `lustre/ui` to use Lustre or to check out any of these
diff --git a/examples/01-hello-world/src/app.gleam b/examples/01-hello-world/src/app.gleam
index 3e11f5b..37ea96c 100644
--- a/examples/01-hello-world/src/app.gleam
+++ b/examples/01-hello-world/src/app.gleam
@@ -4,9 +4,9 @@ import lustre/element
import lustre/element/html
// 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 `--include-styles` flag:
+// the `--use-lustre-ui` flag:
//
-// $ gleam run -m lustre dev --include-styles
+// $ 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.