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

compiling external Blade components #53

Open
madbob opened this issue Sep 6, 2021 · 0 comments
Open

compiling external Blade components #53

madbob opened this issue Sep 6, 2021 · 0 comments

Comments

@madbob
Copy link

madbob commented Sep 6, 2021

I have an external package which service provider manually registers a few Blade components into the default BladeCompiler instance (through the Blade facade).
But, as long LaravelGettext allocates his own BladeCompiler, it is not inited in the same way and fails to compile the views as soon as it finds a reference to one of the expected component.
The most obvious fix should be to replace the locally allocated BladeCompiler with calls to the default Blade facade (tested and working), but I'm not entirely sure how it behaves with the handling of "domains"...

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

No branches or pull requests

1 participant