-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update using components page #1176
Conversation
docs/site/Using-components.md
Outdated
- Providers of additional [Context values](Context.md) | ||
LoopBack 4 was built with extensibility in mind and this includes Components, | ||
which can be allowed to contribute additional artifacts by adding a Mixin | ||
to your Application class. This doesn't change how a a Component is registered |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
an extra a
in how a a Component
docs/site/Using-components.md
Outdated
|
||
- Models | ||
- [Repositories](Repositories.md) | ||
**Note:** Always check a components instructions to see if it requires |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
either a component's
or a component
?
docs/site/Using-components.md
Outdated
Components play an important part in the extensibility of LoopBack 4. | ||
A Component makes it easy for independent developers to contribute additional | ||
features to LoopBack. Components serve as a vehicle to group extension | ||
contributions such as Context Bindings and various Artifacts to allow easier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Link to Context.md here would be great
docs/site/Using-components.md
Outdated
In general, components can contribute the following items: | ||
Components can contribute the following items: | ||
|
||
- [Controllers](Controllers.html) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.md
docs/site/Using-components.md
Outdated
Components can contribute the following items: | ||
|
||
- [Controllers](Controllers.html) | ||
- Providers of additional [Context values](Context.html) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.md
docs/site/Using-components.md
Outdated
|
||
In the future (before the GA release), components will be able to contribute additional items: | ||
- [Repositories](Repositories.html) can be contributed by a Component by adding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.md
docs/site/Using-components.md
Outdated
In the future (before the GA release), components will be able to contribute additional items: | ||
- [Repositories](Repositories.html) can be contributed by a Component by adding | ||
`RepositoryMixin` from `@loopback/repository` to your Application | ||
- [Booters](Booting-an-Application.html#booters) can be contributed by a Component by adding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.md
docs/site/Using-components.md
Outdated
Components play an important part in the extensibility of LoopBack 4. | ||
A Component makes it easy for independent developers to contribute additional | ||
features to LoopBack. Components serve as a vehicle to group extension | ||
contributions such as [Context Bindings](Context.md) and various Artifacts to allow easier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Artifacts
should be artifacts
.
docs/site/Using-components.md
Outdated
|
||
const app = new Application(); | ||
```ts | ||
import { RestApplication } from "@loopback/rest"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The formatting does not conform to our style. We don't use extra spaces for the {}
.
de47851
to
d2afe49
Compare
connected to #988
Same as this PR loopbackio/loopback.io#639 but since we moved docs before it landed, re-creating this.
Checklist
npm test
passes on your machinepackages/cli
were updatedpackages/example-*
were updated