diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2024-01-27 02:24:50 +0000 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2024-01-27 02:24:50 +0000 |
commit | c34d1a0e9003d483752720466def696c30f705c8 (patch) | |
tree | b6e693c3b3d971a9d449daeb461b1a867177ad39 /examples/README.md | |
parent | 235fcd2ae0229272ebb0927806d301c8b887c1ba (diff) | |
download | lustre-c34d1a0e9003d483752720466def696c30f705c8.tar.gz lustre-c34d1a0e9003d483752720466def696c30f705c8.zip |
:construction: Start replacing old test examples with structured examples.
Diffstat (limited to 'examples/README.md')
-rw-r--r-- | examples/README.md | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/examples/README.md b/examples/README.md deleted file mode 100644 index 2c601ea..0000000 --- a/examples/README.md +++ /dev/null @@ -1,26 +0,0 @@ -# Lustre examples - -Each of these examples is a complete Gleam project that contains a Lustre app -that demos or tests a particular feature of Lustre. To run any of them, navigate -to the example's directory and first run: - -```sh -$ gleam build -``` - -Then serve the app using `lustre/try`: - -```sh -$ gleam run -m lustre/try -``` - -If you do not specify a target, this will attempt to serve the app using an Erlang -HTTP server. If you'd prefer to serve using Node, you can specify the JavaScript -target instead: - -```sh -$ gleam run -m lustre/try --target javascript -``` - -Or you may additionally supply the `--runtime deno` flag to serve using Deno rather -than Node. |