Skip to content

guillaumeboudon/elm-spa-starter

Repository files navigation

elm-spa-starter

A Webpack based boilerplate to build a production ready Elm SPA.

Features

⚠️ Actually a roadmap:

  • Hot reloading
  • Sass support
  • CSS autoprefixing
  • Local SSL
  • ES6 support
  • Typescript support
  • ESLint
  • Minifying/bundling for production
  • Basic starter elm app
  • elm-test

Structure

.
├── dist
│   └── ...
├── assets
│   ├── favicon.ico
│   ├── fonts
│   │   └── myfont.woff
│   └── img
│       └── mypicture.png
├── src
│   ├── elm
│   │   └── Main.elm
│   ├── css
│   │   └── styles.scss
│   ├── index.html
│   ├── main.js
│   └── main.scss
├── tests
│   └── Tests.elm
├── scripts
│   └── myscript
├── .gitignore
├── README.md
├── elm.json
├── package.json
└── webpack.config.js

Install

Clone this repo into your project folder:

git clone [email protected]:guillaumeboudon/elm-spa-starter.git my-app
cd my-app

Build a new git repo:

rm -rf .git
git init
git add .
git commit -m "Initial commit"

Install dependencies:

yarn install

Usage

Start the application:

yarn start

Or build it for production:

yarn build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published