gdotdesign/elm-ui

How does this works in production ?

pyladune opened this issue · 4 comments

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

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).

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

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

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.