Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 955 Bytes

linking-to-applications.md

File metadata and controls

17 lines (11 loc) · 955 Bytes

Testing EmberData source directly in your Application

You can use package linking to test checkouts of ember-data against your application locally. This applies to consuming ember-data directly within an ember application. It will not work in your application if you are consuming ember-data through an addon (transitive dependency problem). This approach also presumes consuming all of ember-data.

  1. clone this repository or another fork
  2. install dependencies: pnpm install
  3. change into the ember-data package directory cd packages/-ember-data

If using pnpm

  1. run link. pnpm link -g
  2. cd into your application
  3. run pnpm link ember-data

If you don't use pnpm in your application, using the appropriate yarn link and npm link commands within the respective directories for the project and your app may work.

Once you have linked EmberData to your application, you can run ember serve as usual in your application.