Skip to content

Commit cb39308

Browse files
tombo1818re-fort
authored andcommitted
Adding pathways to free Video content (#1375)
* add video contents * package.jsonを修正 * ビデオを動画に変更
1 parent 7909ac2 commit cb39308

File tree

8 files changed

+53
-3
lines changed

8 files changed

+53
-3
lines changed

Diff for: src/v2/guide/index.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Vue (発音は / v j u ː / 、 **view** と同様)はユーザーインター
1313

1414
あなたが経験豊富なフロントエンド開発者で、 Vue.js と他のライブラリ/フレームワークを比較したい場合、[他のフレームワークとの比較](comparison.html)を確認してください。
1515

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+
1618
## はじめに
1719

1820
<p class="tip">公式ガイドは、HTML、CSS そして JavaScript の中レベルのフロントエンドの知識を前提にしています。フロントエンドの開発が初めてであるならば、最初のステップとして、フレームワークに直接入門するのは良いアイデアではないかもしれません。基礎を学んで戻ってきましょう!他のフレームワークでの以前の経験は役に立ちますが、必須ではありません。</p>
@@ -394,4 +396,4 @@ Vue のコンポーネントが [Web Components Spec](https://www.w3.org/wiki/We
394396

395397
Vue.js の中核の基本的な機能について手短に紹介しましたが、このガイドの残りでは、基本的な機能だけでなく他の高度な機能についてももっと詳しく扱うので、全てに目を通すようにしてください!
396398

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>

Diff for: src/v2/guide/installation.md

+2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ $ npm install vue
6363

6464
<p class="tip">CLI は Node.js および関連するビルドツールに関する事前知識を前提としています。Vue またはフロントエンドビルドツールを初めて使用している場合、CLI を使用する前に、ビルドツールなしで[ガイド](./)を参照することを強くお勧めします。</p>
6565

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+
6668
## さまざまなビルドについて
6769

6870
[NPM パッケージの `dist/` ディレクトリ](https://cdn.jsdelivr.net/npm/vue/dist/) では Vue.js の多くのさまざまなビルドが見つかります。それらの違いの概要は以下の通りです:

Diff for: src/v2/guide/reactivity.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ order: 601
77

88
さらに深く見ていきましょう!Vue の最大の特徴の1つは、控えめなリアクティブシステムです。モデルは単なるプレーンな JavaScript オブジェクトです。それらを変更するとビューが更新されます。これは状態管理を非常にシンプルかつ直感的にしますが、よくある問題を避けるためにその仕組みを理解することも重要です。このセクションでは、Vue のリアクティブシステムの低レベルの詳細の一部について掘り下げていきます。
99

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+
1012
## 変更の追跡方法
1113

1214
プレーンな 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 以下をサポートしないのはこのためです。

Diff for: src/v2/guide/state-management.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ order: 502
99

1010
大規模なアプリケーションは、多くの状態が色々なコンポーネントに散らばったり、コンポーネント間の相互作用のために複雑になりがちです。この問題を解消するために、 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)を提供します。
1111

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+
1214
### React 開発者への情報
1315

1416
もしあなたが 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 を提供したり、開発体験を向上させることができます。

Diff for: themes/vue/layout/index.ejs

+4-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@
120120
</div>
121121

122122
<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>
124127
</div>
125128

126129
<script>

Diff for: themes/vue/source/css/_modal.styl

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
box-sizing: border-box
33
display: none
44
position: fixed
5-
width: 80%
5+
width: 75%
66
height: auto
77
padding: .5em
88
background-color: #f9f9f9
@@ -13,6 +13,12 @@
1313
top: 50%
1414
left: 50%
1515
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
1622
.overlay
1723
position: fixed
1824
top: 0

Diff for: themes/vue/source/css/_vue-mastery.styl

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
.vue-mastery
2+
background-color #e7ecf3
3+
padding 1em 1.25em
4+
border-radius 2px
5+
color #486491
6+
position relative
7+
margin-top 1em
8+
a
9+
color #486491 !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 #73abfe
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 #fff

Diff for: themes/vue/source/css/page.styl

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
@import "_style-guide"
1414
@import "_modal"
1515
@import "_scrimba"
16+
@import "_vue-mastery"
1617

1718
#header
1819
box-shadow: 0 0 1px rgba(0,0,0,.25)

0 commit comments

Comments
 (0)