本家スタイルガイド - コンポーネント/インスタンス オプション順序の転記。スクロールしないで読めるように。
分類 | オプション |
---|---|
1. 副作用 | el |
2. グローバルな認識 | name, parent |
3. コンポーネントの種類 | functional |
4. テンプレートの修飾子 | delimiters, comments |
5. テンプレートの依存関係 | components, directives, filters |
6. 合成 | extends, mixins |
7. インタフェース | inheritAttrs, model, props/propsData |
8. ローカルの状態 | data, computed |
9. イベント | watch beforeCreate, created, beforeMount, mounted, beforeUpdate, updated, activated, deactivated, beforeDestroy, destroyed |
10. リアクティブではないプロパティ | methods |
11. レンダリング | template/render, renderError |
※何となくよく探しそうなやつは太字で