Skip to content

Commit

Permalink
fix: update playground startup command in documentation (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
NaokiHaba authored Dec 19, 2024
1 parent 20dbf3f commit 5a4b37d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/how-read.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Since Vapor Mode is currently in R&D, the source code changes frequently. \
It would be quite inconvenient if it changes while we're reading it, so let's find a way to use the vuejs/core-vapor we just checked out locally to confirm things.

In vuejs/core-vapor, there is a directory called `/playground`. \
You can start this playground by running `pnpm dev-vapor` in `vuejs/core-vapor`. \
You can start this playground by running `pnpm dev` in `vuejs/core-vapor`. \
There are some components placed in `/playground/src`. When you access the started playground, you'll find that `/playground/src/App.vue` is running in your browser.

In this playground, `/playground/src` corresponds to routing. For example, if you access `http://localhost:5173/components.vue`, `/playground/src/components.vue` will be executed. \
Expand Down
2 changes: 1 addition & 1 deletion src/ja/how-read.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Vapor Mode は現在 R&D が進行中のためソースコードは頻繁に変
読んでる間にも変わってしまうとかなり不都合なので,どうにかして先ほどチェックアウトした手元の vuejs/core-vapor を使って確認できるようにしましょう.

vuejs/core-vapor には `/playground` というディレクトリがあります.\
`vuejs/core-vapor``pnpm dev-vapor` を実行することでこの playground を起動することができます.\
`vuejs/core-vapor``pnpm dev` を実行することでこの playground を起動することができます.\
そして `/playground/src` にいくつかのコンポーネントが置かれています.起動した playground にアクセスすると,`/playground/src/App.vue` がブラウザで実行されることがわかります.

この playground では `/playground/src` がルーティングに対応していて,例えば, `http://localhost:5173/components.vue` にアクセスすると `/playground/src/components.vue` が実行されます.\
Expand Down

0 comments on commit 5a4b37d

Please sign in to comment.