1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Vue.jsコンポーネントの記述順序(options order)の表

Last updated at Posted at 2021-03-08

本家スタイルガイド - コンポーネント/インスタンス オプション順序の転記。スクロールしないで読めるように。

分類 オプション
  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

※何となくよく探しそうなやつは太字で

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?