Skip to content

A simple Webpack 2 setup for writing Elm apps with elm-bootstrap.

Notifications You must be signed in to change notification settings

jiwhiz/elm-bootstrap-webpack-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elm-bootstrap-webpack-starter

About:

A simple Webpack 2 setup for writing Elm apps with elm-bootstrap:

Install:

Clone this repo into a new project folder, e.g. my-elm-project:

git clone https://github.com/jiwhiz/elm-bootstrap-webpack-starter my-elm-project
cd my-elm-project

Re-initialize the project folder as your own repo:

rm -rf .git         # on Windows: rmdir .git /s /q
git init
git add .
git commit -m 'first commit'

Install all dependencies using the handy reinstall script:

npm run reinstall

This does a clean (re)install of all npm and elm packages.

Serve locally:

npm start
  • Access app at http://localhost:8080/
  • Get coding! The entry point file is src/elm/Main.elm
  • Browser will refresh automatically on any file changes..

Build & bundle for prod:

npm run build
  • Files are saved into the /dist folder
  • To run locally, use npm run local

Credits:

About

A simple Webpack 2 setup for writing Elm apps with elm-bootstrap.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published