-
-
Notifications
You must be signed in to change notification settings - Fork 327
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
[TwigComponent] Add documentation for MakerBundle installation #1923
[TwigComponent] Add documentation for MakerBundle installation #1923
Conversation
docs: Document a quick way to get the component boilerplate in.
@@ -72,6 +94,8 @@ file to control the template directory for your components: | |||
# Namespace & directory for components | |||
App\Twig\Components\: 'components/' | |||
|
|||
That's it! We're ready to go! |
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.
I prefer the way it was before. For most of new users, composer require will be enough.
|
||
Success! | ||
|
||
This will also setup the config. |
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.
What do you mean here ? How does the maker bundle set the local config ?
Similarly, to make a `live component`_, enter ``yes`` when prompted whether | ||
to make this a live component. |
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.
I don't think we should talk about LiveComponent that early in the page.
Thank you for the suggestion, @techSolstice. My primary concern with the current implementation is that using the maker is not strictly related to “installation.” If we want to document it, I suggest we create a dedicated section, similar to how it’s done for controllers: Symfony Documentation - Generating Controllers. Would you be able to adapt this PR in that direction? |
Added in #2384 |
docs: Add documentation for a quick way to get the component boilerplate in.