windwalker-io / core

The framework extended library for Windwalker Starter application.
https://github.com/ventoviro/windwalker-starter
MIT License
4 stars 3 forks source link

Unable to manually set layout for View #1075

Closed asika32764 closed 11 months ago

asika32764 commented 1 year ago

This can not get layout

$view = $app->make(CheckoutView::class);
            $view->setLayout('shipping');

            return $view->render(['content' => $result, 'data' => $checkout]);