diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2022-05-21 04:26:01 +0100 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2022-05-21 04:26:01 +0100 |
commit | a9bdc46f63f8be227fd6ba608a92df3cb5cf890f (patch) | |
tree | d81692ccf71483b8aea85591ad063d9cae79e12a /README.md | |
parent | fa0a9795708a25bc9f87ee919feb059c8fdef4ab (diff) | |
download | lustre-a9bdc46f63f8be227fd6ba608a92df3cb5cf890f.tar.gz lustre-a9bdc46f63f8be227fd6ba608a92df3cb5cf890f.zip |
:memo: Make it clearer this package is intended for browser targets only.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -1,6 +1,8 @@ # Lustre -> A framework for building create web apps – powered by Gleam and React! +A framework for building create web apps – powered by Gleam and React! + +--- [](https://hex.pm/packages/lustre) [](https://hexdocs.pm/lustre/) @@ -37,8 +39,10 @@ fn render (state) { } ``` -> ❗️ This package relies on Gleam's JavaScript FFI and will not work if your are -> targeting Erlang. +--- + +❗️ This package relies on Gleam's JavaScript FFI and is intended to be run in +the browser. **It will not work if your are targetting Node.js or Erlang.** --- @@ -50,7 +54,7 @@ If available on Hex, this package can be added to your Gleam project: gleam add lustre ``` -and its documentation can be found at <https://hexdocs.pm/eval>. You will also +and its documentation can be found at <https://hexdocs.pm/lustre>. You will also need to install `react` and `react-dom` from npm: ```sh @@ -70,4 +74,4 @@ npm start This sets up `chokidar` to watch our gleam source code and runs the compiler whenever we make a change. It also starts a server that will serve the examples -located in `test/examples/`. +located in `test/example/`. |