Closed rsreimer closed 5 months ago
One nice addition to this PR would be to export something like the following from e.g. our /shared/ entry.
export const provideKirby = (): Provider[] => {
// config object is defined in kirby-ionic-module, should probably be moved to a shared location
return provideIonicAngular(config);
};
Then Standalone-based applications should be able to use Kirby out of the box:
bootstrapApplication(AppComponent, {
providers: [provideKirby()],
}).catch((err) => console.error(err));
Which issue does this PR close?
This PR closes #3342
What is the new behavior?
Does this PR introduce a breaking change?
Are there any additional context?
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Reminders
Review
When the pull request has been approved it will be merged to
develop
by Team Kirby.