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

anemone

anemone 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",
          "arguments": [{
              "contentPath": "path:./locales",
              "fallback": "en-US"
          }]
      }
    }
  }
}

To enable debug messages

NODE_DEBUG=anemone node YOUR-APP-FILE.js

Current Tags

  • 1.0.0                                ...           latest (4 years ago)

1 Versions

  • 1.0.0                                ...           4 years ago
Maintainers (2)
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 - 2017 © taobao.org |