ember-cli-static

Static page generator for Ember applications

Usage no npm install needed!

<script type="module">
  import emberCliStatic from 'https://cdn.skypack.dev/ember-cli-static';
</script>

README

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