anemone-lingua
a content loader for react in kraken workflow
Last updated 4 years ago by grawk .
Apache 2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install anemone-lingua 
SYNC missed versions from official npm registry.

anemone-lingua

anemone-lingua is a content loader middleware for react in kraken-js workflow. It loads content strings from kraken-js style .properties bundles.

Example Setup (in kraken config)

{
  "middleware": {
    "reactContentLoader": {
      "priority": 100,
      "enabled": true,
      "module": {
          "name": "anemone-lingua",
          "arguments": [{
              "contentPath": "path:./locales",
              "fallback": "en-US"
          }]
      }
    }
  }
}

To enable debug messages

NODE_DEBUG=anemone-lingua node YOUR-APP-FILE.js

Current Tags

  • 0.0.1                                ...           latest (4 years ago)

1 Versions

  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |