Skip to content
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

Allow publishing components #1297

Merged
merged 4 commits into from
Aug 3, 2024

Conversation

dfsmania
Copy link
Collaborator

@dfsmania dfsmania commented Jul 27, 2024

Question Answer
Pull request type ENHANCEMENT
License MIT

What's in this PR?

Solves the issue #944

Allow publishing the blade components of the package so the user can then customize them. Components may be published with command:

php artisan adminlte:install --only="components"

Once published, these customizable version of the components may be used using the Laravel convention for classes nested into sub-directories. For example, the customizable version of the Input Component should be used like:

<x-adminlte.form.input />

Instead of:

<x-adminlte-input />

Checklist

  • I tested these changes.
  • I have linked the related issues.
  • Add Wiki documentation.

@dfsmania dfsmania linked an issue Jul 27, 2024 that may be closed by this pull request
@dfsmania dfsmania requested a review from resslinger July 27, 2024 16:03
@dfsmania dfsmania merged commit 8643840 into jeroennoten:master Aug 3, 2024
34 checks passed
@dfsmania dfsmania deleted the allow_publishing_components branch August 3, 2024 16:01
@AMoktar
Copy link
Contributor

AMoktar commented Aug 5, 2024

Awesome
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Publishing the Components classes for better customization
2 participants