refactor(app): extract page logic into composable drivers
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { computed } from 'vue'
|
||||
|
||||
export interface SettingsPageModel {
|
||||
title: string
|
||||
}
|
||||
|
||||
export function useSettingsPage() {
|
||||
const pageModel = computed<SettingsPageModel>(() => ({
|
||||
title: '設定頁面',
|
||||
}))
|
||||
|
||||
return { pageModel }
|
||||
}
|
||||
Reference in New Issue
Block a user