Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Create a New Elm 0.19 App from Scratch #124

Open
5 tasks
nelsonic opened this issue Nov 16, 2018 · 4 comments
Open
5 tasks

How to Create a New Elm 0.19 App from Scratch #124

nelsonic opened this issue Nov 16, 2018 · 4 comments

Comments

@nelsonic
Copy link
Member

We need to:

  • Document how to create a new Elm App from Scratch in Elm 0.19
  • How to start thinking about a new application? e.g: "Make Data Structures" "Make Data Structures" by Richard Feldman #120
  • Define the optimal workflow with;
    • Live Reloading
    • Debugging
@nelsonic nelsonic changed the title How to Create a New Elm App from Scratch How to Create a New Elm 0.19 App from Scratch Nov 16, 2018
@nelsonic
Copy link
Member Author

https://elm-lang.org/0.19.0/init

@ashishsc
Copy link

Do you think it's worth directing readers to a third-party helper like https://github.com/halfzebra/create-elm-app ?

@nelsonic
Copy link
Member Author

@ashishsc good question and thanks for adding the link. ❤️
create-elm-app is a good project and all those involved should keep up the great work! 👍
the creator of the project shared it in: #54 (comment) and we took a look at the time. 🔍
It's useful for people who are unsure what they need in a project and offers decent defaults. ✅

My reasoning for not using create-elm-app is that I don't need several of the bundled "features". e.g: I definitely don't need 180mb of "babel" to run/build an Elm app. 🙄
And if I'm building a guide for complete beginners, I don't feel that giving them a "kitchen sink" is an effective way of learning. It's more likely to overwhelm than elucidate.
I don't need Autoprefixer either if I'm using Tachyons or Elm-UI.

If I could have a "create PETE app" that included all the elements in our "Extended Stack" dwyl/technology-stack#67 that is what I would use because it would give my app a massive "head start".
However, for the purposes of a "beginner" Elm App, I feel that "PETE" is overkill.
I'm busy writing an Elm App / Tutorial and will be including the instructions for creating an Elm App with the bare minimum files for Testing, Debugging, Hot-reloading (including ports) on connected devices and PWA browser / web worker / cache clearing.

Ultimately, I feel this is a matter of "taste", some people prefer other tools from what I have chosen.
Thanks for sharing/asking. ✨

@ashishsc
Copy link

That makes sense to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants