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

Registered custom anonymous blade component directory #15150

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

marcusmoore
Copy link
Collaborator

Description

Since we already use the resources/views/components directory, this PR registers the resources/views/blade directory as our location for future anonymous blade components.

(I created <x-example /> to make sure the directory was registered correctly and kept it included as a .gitkeep alternative.)

Type of change

  • Chore

Copy link

what-the-diff bot commented Jul 23, 2024

PR Summary

  • Registration of New Service for Blade Component Path
    A new file BladeServiceProvider.php was added in the app/Providers directory. This registers an additional service for a web tools' component path.

  • Modification in App Configurations
    The config/app.php file was altered and App\Providers\BladeServiceProvider has been added to the list of custom service providers. This is important in integrating our new service within the app.

  • Inclusion of a Sample View
    A new file example.blade.php was also introduced in the resources/views/blade directory. This file houses a simple web page element and serves as an example to guide users in creating further similar elements.

@snipe snipe merged commit 24b7659 into snipe:develop Jul 25, 2024
9 checks passed
@marcusmoore marcusmoore deleted the chore/sc-26113 branch August 5, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants