https://github.com/tubbo/ember-cli-static
[WIP] A static pages addon for Ember CLI apps
https://github.com/tubbo/ember-cli-static
Last synced: 2 months ago
JSON representation
[WIP] A static pages addon for Ember CLI apps
- Host: GitHub
- URL: https://github.com/tubbo/ember-cli-static
- Owner: tubbo
- License: mit
- Created: 2015-05-16T22:27:26.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:35:39.000Z (over 1 year ago)
- Last Synced: 2024-05-21T12:29:52.824Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ember-cli-static
An addon for [Ember CLI][cli] that precompiles static page content from
[Markdown][md] and [YAML Front Matter][yfm].## Installation
Use [Ember CLI][cli] to install this addon to your app:
```bash
$ ember install ember-cli-static
```## Usage
Generate a static page from within your app:
```bash
$ ember generate page TITLE
```Create a route to the `page` component:
```javascript
Router.map(function() {
this.route('page', { path: '/:id' });
});
```Start your server and browse to to see
your page in action.## Running
To start the development server:
```bash
$ make
```## Running Tests
To run all QUnit and CasperJS tests:
```bash
$ make test
```[cli]: http://ember-cli.com
[md]: http://daringfireball.net/projects/markdown/syntax
[yfm]: http://jekyllrb.com/docs/frontmatter/