Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Change Bootstrap Version in runtime #544

Open
MmKargar opened this issue Dec 23, 2019 · 1 comment
Open

Change Bootstrap Version in runtime #544

MmKargar opened this issue Dec 23, 2019 · 1 comment

Comments

@MmKargar
Copy link

MmKargar commented Dec 23, 2019

Hi
Thanks for amazing package.
I have two different user panel that one use bootstrap3 and other one using bootstrap4.
how can i change the bootstrap version in runtime base on user role id ?
i see kordy\ticketit\src\ticketServiceProvider.php that the all configuration of bootstrap version can easy change in it , but the problem is as you know i can't get authenticated user information in serviceProvider , and it should done on ViewComposer .
I try to use laravel config helper too , but everything is configuration after the ServiceProvider.

How can i handle this?

thanks.

@thekordy
Copy link
Owner

May be this answer could help https://stackoverflow.com/a/49404326

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

No branches or pull requests

2 participants