From 06c6de420e80b541824b996942ce45f93575b44d Mon Sep 17 00:00:00 2001 From: ThinhVu Date: Sat, 5 Nov 2022 22:22:13 +0700 Subject: [PATCH 1/3] docs: correct typing --- packages/docs/src/guide/devtools-perf.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/src/guide/devtools-perf.md b/packages/docs/src/guide/devtools-perf.md index 22f9d5cf9..c3706bad1 100644 --- a/packages/docs/src/guide/devtools-perf.md +++ b/packages/docs/src/guide/devtools-perf.md @@ -26,7 +26,7 @@ Make sure you have run both the `build:watch` and the `dev:vue3` scripts as [exp In the Chrome window, open the devtools development shell at `http://localhost:8090`. -You can shen change the target URL in the toolbar on top of the devtools: +You can then change the target URL in the toolbar on top of the devtools: ![devtools shell screenshot](../assets/dev-shell-url.png) From 98f1f1da0f3da45206d82d594e48de5b2459d425 Mon Sep 17 00:00:00 2001 From: ThinhVu Date: Sat, 5 Nov 2022 22:45:43 +0700 Subject: [PATCH 2/3] docs: update repo name --- packages/docs/src/guide/contributing.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/docs/src/guide/contributing.md b/packages/docs/src/guide/contributing.md index d776e2100..349df8d7b 100644 --- a/packages/docs/src/guide/contributing.md +++ b/packages/docs/src/guide/contributing.md @@ -64,12 +64,12 @@ Thank you for your code contribution! Before opening a PR, please make sure to r This is useful when you want to build the extension with the source repo to get not-yet-released features. 1. Clone this repo -2. `cd vue-devtools` the newly created folder +2. `cd devtools` the newly created folder 3. run `yarn install` 4. then run `yarn run build:watch` & `yarn run dev:chrome` in parallel 5. Open the Chrome extension page (currently under `Menu` > `More Tools` > `Extensions`) 6. Check "developer mode" on the top-right corner -7. Click the "load unpacked" button on the left, and choose the folder: `vue-devtools/packages/shell-chrome/` (it will have an orange disk icon) +7. Click the "load unpacked" button on the left, and choose the folder: `devtools/packages/shell-chrome/` (it will have an orange disk icon) 8. Make sure you disable all other versions of the extension ## Testing as Firefox addon @@ -94,6 +94,6 @@ This is useful when you want to build the extension with the source repo to get ## Docs development 1. Clone this repo -2. `cd vue-devtools` the newly created folder +2. `cd devtools` the newly created folder 3. run `yarn install` -4. run `docs:dev` \ No newline at end of file +4. run `docs:dev` From 1c206e5708f0f72926f86d603818bde0e202f590 Mon Sep 17 00:00:00 2001 From: ThinhVu Date: Sat, 5 Nov 2022 22:46:09 +0700 Subject: [PATCH 3/3] fix(docs): update repo name, docsDir --- packages/docs/src/.vitepress/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docs/src/.vitepress/config.js b/packages/docs/src/.vitepress/config.js index 66e9d15f8..880e3e997 100644 --- a/packages/docs/src/.vitepress/config.js +++ b/packages/docs/src/.vitepress/config.js @@ -10,9 +10,9 @@ export default defineConfig({ ], themeConfig: { - repo: 'vuejs/vue-devtools', + repo: 'vuejs/devtools', logo: '/logo-header.svg', - docsDir: 'docs', + docsDir: 'packages/docs/src', docsBranch: 'main', editLinks: true, editLinkText: 'Suggest changes to this page',