lustre-labs / lustre

An Elm-inspired framework for building HTML templates, single page applications, and server-rendered components in Gleam!
https://hexdocs.pm/lustre
MIT License
738 stars 52 forks source link

V4 Quickstart hard to follow #62

Closed dennistruemper closed 3 months ago

dennistruemper commented 3 months ago

Hi, I just tried to follow https://hexdocs.pm/lustre/4.0.0-rc1/guide/01-quickstart.html and I did not look in the URL. So I followed the instructions and ended up with a Version 3 install. Took me as a gleam/lustre beginner some time to figure out what is wrong.

Then I took a look at some examples and in there I found:

Note: this guide is written for Lustre v4. The latest stable release of Lustre is v3. To follow along with this guide, you need to manually edit your gleam.toml and change the required version of lustre to "4.0.0-rc.2".

So I'd suggest to add some info in the quickstart to check for Version 4 to make it easier to follow

hayleigh-dot-dev commented 3 months ago

Hey there thanks for the feedback (: Louis released Gleam v1 and then the subsequent prime/theo videos all happened while I've been away travelling for work so I haven't had much time at all to keep on top of things. V4 should be out for real fairly soon ^.^