Skip to content

Commit

Permalink
Update readme for 2.0 (#217)
Browse files Browse the repository at this point in the history
import path has changed in v2
  • Loading branch information
kernel-io authored and pzuraq committed Apr 23, 2018
1 parent 9f8c6f1 commit 8bfc9b7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Expand Up @@ -52,8 +52,8 @@ You replace it with this:

```javascript
import Component from '@ember/component';
import { action, computed } from 'ember-decorators/object';
import { service } from 'ember-decorators/service';
import { action, computed } from '@ember-decorators/object';
import { service } from '@ember-decorators/service';

export default class ExampleComponent extends Component {
@service foo
Expand Down Expand Up @@ -81,31 +81,31 @@ import {
attr,
hasMany,
belongsTo
} from 'ember-decorators/data';
} from '@ember-decorators/data';

import {
controller
} from 'ember-decorators/controller';
} from '@ember-decorators/controller';

import {
action,
computed,
observes
} from 'ember-decorators/object';
} from '@ember-decorators/object';

import {
alias,
or,
reads
} from 'ember-decorators/object/computed';
} from '@ember-decorators/object/computed';

import {
on
} from 'ember-decorators/object/evented';
} from '@ember-decorators/object/evented';

import {
service
} from 'ember-decorators/service';
} from '@ember-decorators/service';

```

Expand Down

0 comments on commit 8bfc9b7

Please sign in to comment.