How does this works in production ?
pyladune opened this issue · 4 comments
pyladune commented
Should we use a elm-ui server for production too ? Thanks
gdotdesign commented
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
@gdotdesign does this also compile the icons in, or do I need to import them separately in production?
gdotdesign commented
If you referring to Ui.icon and the ones that components use It compiles them as well.
gdotdesign commented
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.