ember-cli-static

0.0.3 • Public • Published

ember-cli-static

An addon for Ember CLI that precompiles static page content from Markdown and YAML Front Matter.

Installation

Use Ember CLI to install this addon to your app:

$ ember install ember-cli-static

Usage

Generate a static page from within your app:

$ ember generate page TITLE

Create a route to the page component:

Router.map(function() {
  this.route('page', { path: '/:id' });
});

Start your server and browse to http://localhost:4200/TITLE to see your page in action.

Running

To start the development server:

$ make

Running Tests

To run all QUnit and CasperJS tests:

$ make test

Package Sidebar

Install

npm i ember-cli-static

Weekly Downloads

1

Version

0.0.3

License

MIT

Last publish

Collaborators

  • tubbo