# Page
# Props
Prop name | Description | Type | Values | Default | Required |
---|---|---|---|---|---|
entity | string() |
# Slots
Name | Description | Bindings |
---|---|---|
default | ||
loading |
# Page
# Example
The Page
component automatically determines the prefix
based on the $route
slugs (with useEntity
).
TIP
Only use the Page
-component in a route where you display the ListView
For example /customers
or /customers/:customerId/contacts
<template>
<Page />
</template>
TIP
Read more about the translations
-convention.
# Override
If you do not want to follow the entity
-convention, you can still override it.
<template>
<Page entity="customers" prefix="customer" />
</template>
WARNING
Be aware that you will have to do a lot of this manually!