Creating Screen
#2224
Replies: 1 comment
-
You need to add the name you want, and add the description block with the description you want. Add it in exactly as the documentation recommends and test by pointing your browser to URL/idea. Then change up the name or description and view the changes by refreshing that page |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create a screen with the command: php artisan orchid:screen Idea
But a file is created with a different code than the one specified in the documentation.
Here is what the team created for me:
`<?php
namespace App\Orchid\Screens;
use Orchid\Screen\Screen;
class Idea extends Screen
{
/**
* Query data.
*
* @return array
*/
public function query(): iterable
{
return [];
}
}

`
And this is the code from the documentation:
Beta Was this translation helpful? Give feedback.
All reactions