Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
.lmd
cfgs
js
locales
README.md
index-prod.ru.js
index.html

README.md

This example covers

  • mixins

With LMD you can easily build and manage multiply builds using mixins. If you have few locales and few environments:

$ lmd ls
info:
info:    Available builds
info:
info:    index  Mixin example. Default lang=en environment=dev
info:    prod   MIXIN: production environment
info:    ru     MIXIN: ru locale
info:    test   MIXIN: test environment
info:

You can just run build with mixins to override default build settings:

$ lmd build index+prod+ru --output=index-prod.ru.js
$ lmd build index+test+ru --output=index-test.ru.js
  • interpolation

See demo, code

Something went wrong with that request. Please try again.