Skip to content

Ember CLI mirage 0.1.11 giftwrapped with dependencies

License

Notifications You must be signed in to change notification settings

snovity/mirage-giftwrapped

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ember CLI Mirage Giftwrapped

Ember CLI Mirage is an awesome library, but it can't be used with pre-CLI Ember apps. And sometimes that is exactly what you want.

This repo is a Ember CLI Mirage v0.1.11 packaged together with its dependencies to a standalone JS file ready for use in pre-CLI Ember apps.

ember-giftwrap was used for packaging.

Confirmed to work with Ember 1.1

Installation

Copy the files from vendor folder to your Ember app's vendor folder and add them to the vendor assets being built.

Order in which files are added is not important.

Usage

See example-config.js for a complete usage example. Server that does nothing looks like this:

var Server = GiftWrap.require('ember-cli-mirage/server').default;

new Server({
  environment: 'development',

  factories: {},
  fixtures: {},
  models: {},
  serializers: {},

  scenarios: { default: function() {} },
  baseConfig: function() {}
});

About

Ember CLI mirage 0.1.11 giftwrapped with dependencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published