elm make is a tool for building Elm projects. It takes
elm make to compile
elm.js like this:
We then imported the
elm.js file from
We have to go through this process of creating a separate
elm make will then automatically create an
index.html file for us and put the compiled code in it. We don’t have to manually create that file like we did before. Go ahead and delete the
beginning-elm/index.html file and run the following command from the
beginning-elm directory in terminal.
index.html and you’ll see the code that used to be in
elm.js. If you open
index.html in a browser, you should see the home page for Dunder Mifflin with no CSS styling.
index.html to what it used to be.