mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update 02-getting-started.md
This commit is contained in:
@@ -6,18 +6,18 @@ Once you have [installed Filament](introduction/installation#installing-the-pane
|
||||
|
||||
> This guide is for the Filament panel builder. If you are looking to use the Filament UI components outside of a panel, visit the [Components](components) documentation.
|
||||
|
||||
To start with, visit `/admin` and sign in with a user account. You will be redirected to the default dashboard of the panel.
|
||||
To start, visit `/admin` and sign in with a user account. You will be redirected to the default dashboard of the panel.
|
||||
|
||||
## Resources
|
||||
|
||||
Resources are the core of your Filament application. They are CRUD UIs for models that you want to manage in the panel.
|
||||
|
||||
Out of the box, Filament will generate 3 pages in each resource:
|
||||
Out of the box, Filament will generate three pages in each resource:
|
||||
- **List**: A paginated table of all the records in the Eloquent model.
|
||||
- **Create**: A form to create a new record.
|
||||
- **Edit**: A form to edit an existing record.
|
||||
|
||||
You can choose to also generate a **View** page, which is a read-only display of a record.
|
||||
You can also choose to generate a **View** page, which is a read-only display of a record.
|
||||
|
||||
Each resource usually has an item in the sidebar, which is automatically registered as soon as you create a resource.
|
||||
|
||||
@@ -25,7 +25,7 @@ To start your journey by creating a resource, visit the [Resources documentation
|
||||
|
||||
## Widgets
|
||||
|
||||
Widgets are components often used to build a dashboard, often to display statistical data. Charts, numbers, tables, and completely custom widgets are supported.
|
||||
Widgets are components often used to build a dashboard, typically to display statistical data. Charts, numbers, tables, and completely custom widgets are supported.
|
||||
|
||||
Each widget has a PHP class and a Blade view. The PHP class is technically a [Livewire component](https://livewire.laravel.com/docs/components). As such, every widget has access to the full power of Livewire to build an interactive server-rendered UI.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user