gdotdesign / elm-ui

UI library for making web applications with Elm
https://elm-ui.netlify.com
BSD 2-Clause "Simplified" License
920 stars 39 forks source link

How does this works in production ? #48

Closed pyladune closed 7 years ago

pyladune commented 7 years ago

Should we use a elm-ui server for production too ? Thanks

gdotdesign commented 7 years ago

There is a command elm-ui build which builds all files (JS, HTML and CSS) for production into ./dist, so the intended way is to serve them as static files with something (ngnix, apache, S3).

mrozbarry commented 7 years ago

@gdotdesign does this also compile the icons in, or do I need to import them separately in production?

gdotdesign commented 7 years ago

If you referring to Ui.icon and the ones that components use It compiles them as well.

gdotdesign commented 7 years ago

I'm closing this since I just released 1.0.0 which moves the development environment functionality to https://github.com/gdotdesign/elm-dev-env.