ember-yaml-cms
v1.0.0
Published
Ember addon to turn YAML files into a single JSON file.
Readme
ember-yaml-cms
Install
$ npm install --save ember-yaml-cmsHow to use
- Create a folder called
cms - Create yaml files inside
cms
Example structure
├─┬ cms
├─┬ index
| ├── foo.yaml
| └── bar.yaml
└─┬ legal
├── terms.yaml
├── privacy.yaml
└─┬ business-terms
├── cookies.yaml
└── contract.yamlConverted structure
├─┬ assets
└─┬ cms
└── content.jsonOptions
In your ember-cli-build you can add the option to name the folder
let app = new EmberAddon(defaults, {
'ember-yaml-cms': {
folder: 'cms-data'
}
});