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

package routes #90

Closed
jdion84 opened this issue Aug 22, 2023 · 1 comment
Closed

package routes #90

jdion84 opened this issue Aug 22, 2023 · 1 comment
Assignees

Comments

@jdion84
Copy link

jdion84 commented Aug 22, 2023

Folio Version

1

Laravel Version

10

PHP Version

8

Description

what is the recommended way of declaring package routes to be handled by folio?

is it like this?:

    public function boot(): void
    {
        Folio::path(base_path('vendor/myname/mypackage/resources/views/pages'))->middleware([
            '*' => [
                //
            ],
        ]);
    }

Steps To Reproduce

see description

@nunomaduro
Copy link
Member

We've documentation about this: https://github.com/laravel/folio#page-paths--uris.

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

No branches or pull requests

3 participants