Skip to content

cedricss/elm-pages-batteries

Repository files navigation

elm-pages, batteries included!

Getting Started

git clone https://github.com/cedricss/elm-pages-batteries.git
cd elm-pages-batteries
npm install
npm run start

Batteries included

  • Development environement (npm run start)
  • Production build with JavaScript and CSS minification (npm run build)
  • Netlify deployment (npm run deploy then npm run deploy:prod)
  • Tailwind, with typography plugin and customization example
  • Styled Html with elm-css
  • Example of pages built from markdown and raw files (cf src/Page/Index.elm and src/Page/License.elm)
  • Example of a Model and a SharedMsg to create a mobile menu (cf src/Shared.elm)
  • Example of a scroll to an anchor link (useful when the anchor is already set in the URL) (cf src/Shared.elm)
  • Example of an Icons module (cf src/View/Icons.elm)

Links and sources

License

Authored by Cédric Soulas, released under the MIT License. Read LICENSE.