From 4aeb451d32d7ad94a5a4111543584a1430cd4571 Mon Sep 17 00:00:00 2001 From: Hayleigh Thompson Date: Sat, 16 Mar 2024 23:41:38 +0000 Subject: :recycle: Rename '--include-styles' flag to '--use-lustre-ui' for clarity. --- examples/01-hello-world/README.md | 4 ++-- examples/01-hello-world/src/app.gleam | 4 ++-- examples/02-interactivity/src/app.gleam | 4 ++-- examples/03-controlled-inputs/src/app.gleam | 4 ++-- examples/04-custom-event-handlers/src/app.gleam | 4 ++-- examples/05-http-requests/src/app.gleam | 4 ++-- examples/06-custom-effects/src/app.gleam | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) (limited to 'examples') 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. diff --git a/examples/02-interactivity/src/app.gleam b/examples/02-interactivity/src/app.gleam index efbed9f..72d3a58 100644 --- a/examples/02-interactivity/src/app.gleam +++ b/examples/02-interactivity/src/app.gleam @@ -6,9 +6,9 @@ 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 `--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. diff --git a/examples/03-controlled-inputs/src/app.gleam b/examples/03-controlled-inputs/src/app.gleam index 5c8381d..2d43170 100644 --- a/examples/03-controlled-inputs/src/app.gleam +++ b/examples/03-controlled-inputs/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 `--include-styles` flag: +// the `--use-lustre-ui` flag: // -// $ gleam run -m lustre try --include-styles +// $ gleam run -m lustre try --use-lustre-ui // // In your own apps, make sure to add the `lustre/ui` dependency and include the // stylesheet somewhere. diff --git a/examples/04-custom-event-handlers/src/app.gleam b/examples/04-custom-event-handlers/src/app.gleam index fe7c6c3..35a6831 100644 --- a/examples/04-custom-event-handlers/src/app.gleam +++ b/examples/04-custom-event-handlers/src/app.gleam @@ -8,9 +8,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 `--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. diff --git a/examples/05-http-requests/src/app.gleam b/examples/05-http-requests/src/app.gleam index cd9aa0b..9fd518c 100644 --- a/examples/05-http-requests/src/app.gleam +++ b/examples/05-http-requests/src/app.gleam @@ -14,9 +14,9 @@ import lustre/event 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 `--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. diff --git a/examples/06-custom-effects/src/app.gleam b/examples/06-custom-effects/src/app.gleam index 60af59e..7ee0096 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 `--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. -- cgit v1.2.3