-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
script setup:マークダウン系のコンポーネントを移行 #1093
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!
あ、Vueとquasarアプデの差分が含まれちゃってるかもです。
(Githubサイト上でワンボタンでmainブランチに追従できる機能あれば便利なんですが、見当たらないですね・・・。)
const emit = | ||
defineEmits<{ | ||
(e: "update:modelValue", value: boolean): void; | ||
}>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
公式がe
なんですね!
|
||
setup(props, { emit }) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
あれ、そういえば以前はemit書かれてないですね。書かなくても大丈夫だったのかな。
あ、もしよかったら @k-chop さんも見てみて頂けると心強いです!! |
emit、使い方から推論してより詳しい型書いて頂いてるんですね、ありがとうございます 🙏 |
PR・レビューありがとうございます!マージします!! |
内容
マークダウン系のコンポーネントをscript setupに移行します。
どのファイルを変更したかはFiles Changedを参照して下さい。
関連 Issue
スクリーンショット・動画など
(なし)
その他
(なし)