Skip to content

Allow writing initializer code in app.js #552

@mehulkar

Description

@mehulkar

Initializers are simply functions that run during application boot (and similarly instance initializers during ApplicationInstance boot). A hook in App.extend() in app.js would be a better starting point for beginners rather than a new file and folder structure.

We can enable this by

  • exposing the hook
  • replacing the place initializers are run with running the hook
  • changing the blueprint to run loaded initializers automatically

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions