Skip to content

Commit 51ba5fe

Browse files
committed
chore: edit screenshots to reduce file size
vuejs/docs@a39b783 close #424
1 parent 76de5ea commit 51ba5fe

File tree

7 files changed

+6
-5
lines changed

7 files changed

+6
-5
lines changed
-512 KB
Loading
-458 KB
Loading
-443 KB
Loading
Loading

src/.vuepress/public/images/sfc.png

-89.6 KB
Loading

src/cookbook/debugging-in-vscode.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = {
4141

4242
アクティビティバーのデバッグアイコンをクリックして、デバッグ表示に切り替え、歯車アイコンをクリックして launch.json ファイルを設定したら、環境として **Chrome/Firefox: Launch** を選択します。生成された launch.json の内容を対応する設定に置き換えます:
4343

44-
![Add Chrome Configuration](/images/config_add.png)
44+
<div style="padding: 10px 25px 30px"><img src="/images/config_add.png" alt="Add Chrome Configuration" style="width: 690px; border-radius: 3px; box-shadow: 0 10px 15px rgb(0 0 0 / 50%)"></div>
4545

4646
```json
4747
{
@@ -74,7 +74,8 @@ module.exports = {
7474

7575
1. **src/components/HelloWorld.vue**`line 90` にある `data` 関数が文字列を返す部分にブレークポイントを設定します。.
7676

77-
![Breakpoint Renderer](/images/breakpoint_set.png)
77+
<div style="padding: 10px 25px 30px"><img src="/images/breakpoint_set.png" alt="Breakpoint Renderer" style="width: 690px; border-radius: 3px; box-shadow: 0 10px 15px rgb(0 0 0 / 50%)"></div>
78+
7879

7980
2. ルートフォルダでお気に入りのターミナルを開き、Vue CLI を使ってアプリケーションを配信します:
8081

@@ -86,7 +87,7 @@ npm run serve
8687

8788
4. ブレークポイントに到達すると、新しいブラウザのインスタンスが `http://localhost:8080` を開きます。
8889

89-
![Breakpoint Hit](/images/breakpoint_hit.png)
90+
<div style="padding: 10px 25px 30px"><img src="/images/breakpoint_hit.png" alt="Breakpoint Hit" style="width: 690px; border-radius: 3px; box-shadow: 0 10px 15px rgb(0 0 0 / 50%)"></div>
9091

9192
## 代替パターン
9293

src/guide/single-file-component.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
こちらが `Hello.vue` と呼ばれたファイルの例です:
1717

18-
<a href="https://codepen.io/team/Vue/pen/3de13b5cd0133df4ecf307b6cf2c5f94" target="_blank" rel="noopener noreferrer"><img src="/images/sfc.png" width="403" alt="Single-file component example (click for code as text)" style="display: block; margin: 15px auto; max-width: 100%"></a>
18+
<div style="padding: 10px 0 30px"><a href="https://codepen.io/team/Vue/pen/3de13b5cd0133df4ecf307b6cf2c5f94" target="_blank" rel="noopener noreferrer" title="Click for code as text"><img src="/images/sfc.png" width="292" alt="Single-file component example (click for code as text)" style="border-radius: 5px; box-shadow: 0 13px 20px rgb(0 0 0 / 50%); margin: 0 auto; display: block;"></a></div>
1919

2020
さて次にこちらに入ります:
2121

@@ -25,7 +25,7 @@
2525

2626
約束した通り、Pug、Babel (ES2015 モジュールと一緒に) や Stylus など綺麗で機能が豊富なコンポーネントもプリプロセッサとして利用することができます。
2727

28-
<a href="https://codesandbox.io/s/vue-single-file-component-with-pre-processors-mr3ik?file=/src/App.vue" target="_blank" rel="noopener noreferrer"><img src="/images/sfc-with-preprocessors.png" width="563" alt="Single-file component with pre-processors example (click for code as text)" style="display: block; margin: 15px auto; max-width: 100%"></a>
28+
<div style="padding: 10px 0 30px"><a href="https://codesandbox.io/s/vue-single-file-component-with-pre-processors-mr3ik?file=/src/App.vue" target="_blank" rel="noopener noreferrer" title="Click for code as text"><img src="/images/sfc-with-preprocessors.png" width="452" alt="Single-file component with pre-processors example (click for code as text)" style="border-radius: 5px; box-shadow: 0 13px 20px rgb(0 0 0 / 50%); margin: 0 auto; display: block;"></a></div>
2929

3030
これらの特定の言語は単なる一例です。TypeScript、SCSS、PostCSS などの生産的なプリプロセッサも簡単に使うことができます。もし `vue-loader` で Webpack を使用しているならば、CSS Modules 向けに素晴らしいサポートがあります。
3131

0 commit comments

Comments
 (0)