purescript-halogen icon indicating copy to clipboard operation
purescript-halogen copied to clipboard

maybe also show the non-"TryPurescript" route for the very first example?

Open afcondon opened this issue 5 years ago • 3 comments

My thinking is - if someone decides to just jump in and start writing an app on their own system they don't have the information there to do that.

I think a pointer to Spago docs or a cookbook recipe or just list the steps (1. make a dir and cd into it 2. run spago init 3. run spago install halogen 4. make a dist directory 5. put this into it 6. spago bundle-app into dist 7. run your favorite httpd in dist) would give the reader that information without being a huge digression on the page.

just a thought, A

afcondon avatar Jun 25 '20 11:06 afcondon

...a link to the purescript-halogen-template would also work

afcondon avatar Jun 25 '20 14:06 afcondon

I'd welcome a PR to update the docs to link to the Halogen template with a brief note about using the template instead of Try PureScript to run the examples. I'd keep any further content about how to actually use the template out of the guide and keep it in the template itself (which could use a little love to make it more user-friendly, which I believe @milesfrain had some ideas on).

thomashoneyman avatar Jun 25 '20 22:06 thomashoneyman

which could use a little love to make it more user-friendly

PR for that here: https://github.com/purescript-halogen/purescript-halogen-template/pull/26

milesfrain avatar Jun 26 '20 00:06 milesfrain