git clone https://github.com/cedricss/elm-pages-batteries.git
cd elm-pages-batteries
npm install
npm run start
- Development environement (
npm run start
) - Production build with JavaScript and CSS minification (
npm run build
) - Netlify deployment (
npm run deploy
thennpm 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
andsrc/Page/License.elm
) - Example of a
Model
and aSharedMsg
to create a mobile menu (cfsrc/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 (cfsrc/View/Icons.elm
)
- Demo: elm-pages-batteries.netlify.com
- Documentation: README
- Twitter: @CedricSoulas
- Newsletter: cedricsoulas.com/elm
- Chat: Elm Slack (ping @CedricSoulas)
- Project template: github.com/cedricss/elm-pages-batteries
Authored by Cédric Soulas, released under the MIT License. Read LICENSE.