File tree 8 files changed +53
-3
lines changed
8 files changed +53
-3
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ Vue (発音は / v j u ː / 、 **view** と同様)はユーザーインター
13
13
14
14
あなたが経験豊富なフロントエンド開発者で、 Vue.js と他のライブラリ/フレームワークを比較したい場合、[ 他のフレームワークとの比較] ( comparison.html ) を確認してください。
15
15
16
+ <div class =" vue-mastery " ><a href =" https://www.vuemastery.com/courses/intro-to-vue-js/vue-instance/ " target =" _blank " rel =" noopener " title =" Free Vue.js Course " >Vue Masteryで無料の動画コースを見る</a ></div >
17
+
16
18
## はじめに
17
19
18
20
<p class =" tip " >公式ガイドは、HTML、CSS そして JavaScript の中レベルのフロントエンドの知識を前提にしています。フロントエンドの開発が初めてであるならば、最初のステップとして、フレームワークに直接入門するのは良いアイデアではないかもしれません。基礎を学んで戻ってきましょう!他のフレームワークでの以前の経験は役に立ちますが、必須ではありません。</p >
@@ -394,4 +396,4 @@ Vue のコンポーネントが [Web Components Spec](https://www.w3.org/wiki/We
394
396
395
397
Vue.js の中核の基本的な機能について手短に紹介しましたが、このガイドの残りでは、基本的な機能だけでなく他の高度な機能についてももっと詳しく扱うので、全てに目を通すようにしてください!
396
398
397
- <div id =" video-modal " class =" modal " ><div class =" video-space " style =" padding : 56.25% 0 0 0 ; position : relative ;" ><iframe src =" https://player.vimeo.com/video/247494684 " style =" height : 100% ; left : 0 ; position : absolute ; top : 0 ; width : 100% ; margin : 0 " frameborder =" 0 " webkitallowfullscreen mozallowfullscreen allowfullscreen ></iframe ></div ><script src =" https://player.vimeo.com/api/player.js " ></script ></div >
399
+ <div id =" video-modal " class =" modal " ><div class =" video-space " style =" padding : 56.25% 0 0 0 ; position : relative ;" ><iframe src =" https://player.vimeo.com/video/247494684 " style =" height : 100% ; left : 0 ; position : absolute ; top : 0 ; width : 100% ; margin : 0 " frameborder =" 0 " webkitallowfullscreen mozallowfullscreen allowfullscreen ></iframe ></div ><script src =" https://player.vimeo.com/api/player.js " ></script ><p class = " modal-text " >Video by < a href = " https://www.vuemastery.com " target = " _blank " rel = " noopener " title = " Vue.js Courses on Vue Mastery " >Vue Mastery</ a >. Watch Vue Mastery’s free < a href = " https://www.vuemastery.com/courses/intro-to-vue-js/vue-instance/ " target = " _blank " rel = " noopener " title = " Vue.js Courses on Vue Mastery " >Intro to Vue course</ a >.< /div >
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ $ npm install vue
63
63
64
64
<p class =" tip " >CLI は Node.js および関連するビルドツールに関する事前知識を前提としています。Vue またはフロントエンドビルドツールを初めて使用している場合、CLI を使用する前に、ビルドツールなしで[ガイド](./)を参照することを強くお勧めします。</p >
65
65
66
+ <div class =" vue-mastery " ><a href =" https://www.vuemastery.com/courses/real-world-vue-js/vue-cli " target =" _blank " rel =" noopener " title =" Vue CLI " >Vue Masteryで動画の説明を見る</a ></div >
67
+
66
68
## さまざまなビルドについて
67
69
68
70
[ NPM パッケージの ` dist/ ` ディレクトリ] ( https://cdn.jsdelivr.net/npm/vue/dist/ ) では Vue.js の多くのさまざまなビルドが見つかります。それらの違いの概要は以下の通りです:
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ order: 601
7
7
8
8
さらに深く見ていきましょう!Vue の最大の特徴の1つは、控えめなリアクティブシステムです。モデルは単なるプレーンな JavaScript オブジェクトです。それらを変更するとビューが更新されます。これは状態管理を非常にシンプルかつ直感的にしますが、よくある問題を避けるためにその仕組みを理解することも重要です。このセクションでは、Vue のリアクティブシステムの低レベルの詳細の一部について掘り下げていきます。
9
9
10
+ <div class =" vue-mastery " ><a href =" https://www.vuemastery.com/courses/advanced-components/build-a-reactivity-system " target =" _blank " rel =" noopener " title =" Vue Reactivity " >Vue Masteryで動画の説明を見る</a ></div >
11
+
10
12
## 変更の追跡方法
11
13
12
14
プレーンな JavaScript オブジェクトを ` data ` オプションとして Vue インスタンスに渡すとき、Vue はその全てのプロパティを渡り歩いて、それらを [ Object.defineProperty] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty ) を使用して getter/setter に変換します。これは ES5 だけの、シム (shim) ができない機能で、Vue が IE8 以下をサポートしないのはこのためです。
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ order: 502
9
9
10
10
大規模なアプリケーションは、多くの状態が色々なコンポーネントに散らばったり、コンポーネント間の相互作用のために複雑になりがちです。この問題を解消するために、 Vue は Elm から触発された状態管理ライブラリの [ vuex] ( https://github.com/vuejs/vuex ) を提供します。[ vue-devtools] ( https://github.com/vuejs/vue-devtools ) とも連携し、特別なセットアップなしで[ タイムトラベルデバッグ] ( https://raw.githubusercontent.com/vuejs/vue-devtools/master/media/demo.gif ) を提供します。
11
11
12
+ <div class =" vue-mastery " ><a href =" https://www.vuemastery.com/courses/mastering-vuex/intro-to-vuex/ " target =" _blank " rel =" noopener " title =" Vuex Tutorial " >Vue Masteryで動画の説明を見る</a ></div >
13
+
12
14
### React 開発者への情報
13
15
14
16
もしあなたが React のエコシステムから来たのなら、最も人気のある Flux 実装の [ redux] ( https://github.com/reactjs/redux ) と vuex がどう比較されるか気になっていることでしょう。Redux は実際に view レイヤの知識を持たないので、[ シンプルなバインディング] ( https://yarnpkg.com/en/packages?q=redux%20vue&p=1 ) を通して簡単に Vue とあわせて利用することができます。Vuex は、 自らが Vue のアプリケーション内にいることを** 知っている** 、という点で異なります。これにより Vue といっそう良く連携することができ、より直感的な API を提供したり、開発体験を向上させることができます。
Original file line number Diff line number Diff line change 120
120
</div >
121
121
122
122
<div id =" video-modal" class =" modal" >
123
- <div class =" video-space" style =" padding : 56.25% 0 0 0 ; position : relative ;" ><iframe src =" https://player.vimeo.com/video/247494684" style =" height : 100% ; left : 0 ; position : absolute ; top : 0 ; width : 100% ;" frameborder =" 0" webkitallowfullscreen mozallowfullscreen allowfullscreen ></iframe ></div ><script src =" https://player.vimeo.com/api/player.js" ></script >
123
+ <div class =" video-space" style =" padding : 56.25% 0 0 0 ; position : relative ;" ><iframe src =" https://player.vimeo.com/video/247494684" style =" height : 100% ; left : 0 ; position : absolute ; top : 0 ; width : 100% ;" frameborder =" 0" webkitallowfullscreen mozallowfullscreen allowfullscreen ></iframe >
124
+ </div ><script src =" https://player.vimeo.com/api/player.js" ></script >
125
+ <p class =" modal-text" >Video by <a href =" https://www.vuemastery.com" target =" _blank" rel =" noopener" title =" Vue.js Courses on Vue Mastery" >Vue Mastery</a >. Watch Vue Mastery’s free <a href =" https://www.vuemastery.com/courses/intro-to-vue-js/vue-instance/" target =" _blank" rel =" noopener" title =" Vue.js Courses on Vue Mastery" >Intro to Vue course</a >.
126
+ </p >
124
127
</div >
125
128
126
129
<script >
Original file line number Diff line number Diff line change 2
2
box-sizing : border-box
3
3
display : none
4
4
position : fixed
5
- width : 80 %
5
+ width : 75 %
6
6
height : auto
7
7
padding : .5em
8
8
background-color : #f9 f9 f9
13
13
top : 50%
14
14
left : 50%
15
15
transform : translate (- 50% , - 50% )
16
+ .modal-text
17
+ margin-bottom 0.5em
18
+ text-align center
19
+ > a
20
+ color $green
21
+ font-weight 600
16
22
.overlay
17
23
position : fixed
18
24
top : 0
Original file line number Diff line number Diff line change
1
+ .vue-mastery
2
+ background-color #e7 ec f3
3
+ padding 1em 1.25em
4
+ border-radius 2px
5
+ color #48 64 91
6
+ position relative
7
+ margin-top 1em
8
+ a
9
+ color #48 64 91 !important
10
+ position relative
11
+ padding-left 36px
12
+ & :before
13
+ content ''
14
+ position absolute
15
+ display block
16
+ width 30px
17
+ height 30px
18
+ top - 5px
19
+ left - 4px
20
+ border-radius 50%
21
+ background-color #73 ab fe
22
+ & :after
23
+ content ''
24
+ position absolute
25
+ display block
26
+ width 0
27
+ height 0
28
+ top 5px
29
+ left 8px
30
+ border-top 5px solid transparent
31
+ border-bottom 5px solid transparent
32
+ border-left 8px solid #f f f
Original file line number Diff line number Diff line change 13
13
@import "_style-guide"
14
14
@import "_modal"
15
15
@import "_scrimba"
16
+ @import "_vue-mastery"
16
17
17
18
#header
18
19
box-shadow : 0 0 1px rgba (0 ,0 ,0 ,.25 )
You can’t perform that action at this time.
0 commit comments