Experimental

An early preview: docs, the API and the dashboard may change or break.

Report a problem
Global

require

Loads a module and returns what it returns. @ember/<name> and @std/<name> are Ember's modules, @pack/<name> a host pack the experience uses, and @content the experience's own content. Any other path is a file of the experience, relative to the file that requires it, such as require("./game/coins").

require(path: string) -> any