Make page title a component
This commit is contained in:
parent
7471f0e7b4
commit
74d52f1003
3 changed files with 8 additions and 1 deletions
5
src/components/PageTitle.vue
Normal file
5
src/components/PageTitle.vue
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<template>
|
||||
<h1 class="font-bold text-2xl text-gray-800">
|
||||
<slot></slot>
|
||||
</h1>
|
||||
</template>
|
||||
Reference in a new issue