elm-batteries
Learn how Elm, Parcel, Cypress and Netlify work together. Get started with Elm navigation, routes, remote data and decoder.
File Explorer
Download Latest Version (.zip)- example.json
- demo.spec.js
- index.js
- commands.js
- index.js
- demo.js
- content_preview.jpg
- style.scss
- Data.elm
- Main.elm
- Route.elm
- View.elm
- Example.elm
- .gitignore
- cypress.json
- elm.json
- index.html
- index.js
- LICENSE
- netlify.toml
- package.json
- PARCEL.md
- postcss.config.js
- README.md
- tailwind.config.js
# Installation Guide
1. Get the code
git clone https://github.com/cedricss/elm-batteries
Downloads the entire project code from GitHub to your computer.
cd elm-batteries
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm init elm-batteries ./my-elm-app
Type this command into your terminal and run it.
cd my-elm-app && npm run dev
Moves into the project folder you just downloaded.
yarn create elm-batteries ./my-elm-app
Type this command into your terminal and run it.
cd my-elm-app && yarn dev
Moves into the project folder you just downloaded.
npm run dev
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
