wintercms / wn-tailwindui-plugin

Provides the TailwindUI-based modern backend skin for the Winter CMS backend
MIT License
15 stars 9 forks source link

Winter.Builder doesn't work with this skin #8

Open FollowZero opened 2 years ago

FollowZero commented 2 years ago

Excuse me, the builder plugin cannot be used for this skin

LukeTowers commented 2 years ago

yep.

algofran commented 1 year ago

not the correct way, but we can skip skin on builder page

public function boot()
    {
        // Only apply skin modifications to the backend context
        if ($this->app->runningInBackend() &&  !\Str::contains($_SERVER['REQUEST_URI'], "winter/builder")) {
            $this->applyBackendSkin();
            $this->extendBackendControllers();
            $this->extendBackendWidgets();
            $this->extendBrandSettingsForm();
            $this->extendBackendAuthController();
        }
    }
LukeTowers commented 1 year ago

@algofran can you spend a few hours looking into what's causing the Winter.Builder plugin to not play nicely with this plugin?

algofran commented 1 year ago

@algofran can you spend a few hours looking into what's causing the Winter.Builder plugin to not play nicely with this plugin?

flyout partials didn't rendered on default.php layout... I manage to put it back, but sidenav not work for some submenus, like permission and version

I'll try more👌