outl1ne / nova-settings

A Laravel Nova tool for editing custom settings using native Nova fields.
MIT License
273 stars 97 forks source link

Setting page is being displayed #50

Closed aliraza371 closed 3 years ago

aliraza371 commented 3 years ago

I installed this package, Its sidebar option appeared but unable to click on it. Upon Investigation I see the router-link class is not there. It seems it's trying to add subpages instead of the default page.

Tarpsvo commented 3 years ago

Have you defined any settings fields? If not, the link will not be clickable.

aliraza371 commented 3 years ago

Yes, I have defined the settings field as the documentation in the Boot method.

Tarpsvo commented 3 years ago

Please provide the code you used to register the fields.

I'm unable to reproduce the issue you're having.

aliraza371 commented 3 years ago

I just re-installed the package, And somehow it's working now. Thanks

Can you tell me how I can define multiple panels on one page?

Tarpsvo commented 3 years ago

Cool! Just create the Panel as usual?

Panel::make('Something', [
    Text::make('Here'),
]),