« All deprecation guides
Deprecation Guide for Ember.Service
until: 7.0.0
id: deprecate-import-service-from-ember
Previously, Service
could be accessed via the Ember
import:
import Ember from 'ember';
Ember.Service
If needed, Service
can be imported:
import Service from '@ember/service';