项目作者: lisardo

项目描述 :
This is an experiment on how use Elm with a file storing values for each environment (e.g. development/staging/production)
高级语言: Elm
项目地址: git://github.com/lisardo/elm-environments.git
创建时间: 2017-07-12T12:01:36Z
项目社区:https://github.com/lisardo/elm-environments

开源协议:

下载


elm-environments

This is an experiment on how handle different environments (e.g. development/staging/production) in Elm.
It creates files with different values for each environment and switch between them at run time.

running

  • Install elm
  • Install elm-live: npm install -g elm-live
  • Try to run with different environments and see the changes:
    • npm run dev
    • npm run staging
    • npm run prod