vue2+nuxt2+typescriptリファクタリング案
省略可能な props には明示的に PropType<型 | undefined> する
https://tech.mobilefactory.jp/entry/2022/06/29/110000
ロジックを切り出す