From ef831201b20738a9c11e6a6b99801ddbbcb40833 Mon Sep 17 00:00:00 2001 From: Damilare Anjorin Date: Thu, 9 Dec 2021 18:53:17 +0100 Subject: [PATCH 1/4] chore(installation guide): add installation guide using pmpm --- src/guide/installation.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/guide/installation.md b/src/guide/installation.md index 7f396dc3ab..0e1ed50461 100644 --- a/src/guide/installation.md +++ b/src/guide/installation.md @@ -18,7 +18,7 @@ Detailed release notes for each version are available on [GitHub](https://github ## Vue Devtools > Currently in Beta - Vuex and Router integration is still WIP - + Learn how to install and use Vue Devtools in a free Vue School lesson When using Vue, we recommend also installing the [Vue Devtools](https://github.com/vuejs/vue-devtools#vue-devtools) in your browser, allowing you to inspect and debug your Vue applications in a more user-friendly interface. @@ -117,6 +117,15 @@ $ yarn $ yarn dev ``` +Or with PNPM: + +```bash +$ pnpm create vite --template vue +$ cd +$ pnpm install +$ pnpm dev +``` + ## Explanation of Different Builds In the [`dist/` directory of the npm package](https://cdn.jsdelivr.net/npm/vue@3.0.2/dist/) you will find many different builds of Vue.js. Here is an overview of which `dist` file should be used depending on the use-case. @@ -170,14 +179,14 @@ If you need to compile templates on the client (e.g. passing a string to the tem ```js // this requires the compiler Vue.createApp({ - template: '
{{ hi }}
' + template: '
{{ hi }}
', }) // this does not Vue.createApp({ render() { return Vue.h('div', {}, this.hi) - } + }, }) ``` From d25d46578ab8f5a84b86774bbf8ef4ee6030584c Mon Sep 17 00:00:00 2001 From: Damilare Anjorin Date: Thu, 9 Dec 2021 18:55:31 +0100 Subject: [PATCH 2/4] chore(installation guide): add installation guide using pmpm --- src/guide/installation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/guide/installation.md b/src/guide/installation.md index 0e1ed50461..02e4e628b9 100644 --- a/src/guide/installation.md +++ b/src/guide/installation.md @@ -179,14 +179,14 @@ If you need to compile templates on the client (e.g. passing a string to the tem ```js // this requires the compiler Vue.createApp({ - template: '
{{ hi }}
', + template: '
{{ hi }}
' }) // this does not Vue.createApp({ render() { return Vue.h('div', {}, this.hi) - }, + } }) ``` From f9d1177655b94bbd22de9f781c44a183c0d8cd1d Mon Sep 17 00:00:00 2001 From: Anjorin Damilare Date: Mon, 13 Dec 2021 07:16:56 +0100 Subject: [PATCH 3/4] chore(vite installation guide): commit suggestion Co-authored-by: skirtle <65301168+skirtles-code@users.noreply.github.com> --- src/guide/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/installation.md b/src/guide/installation.md index 02e4e628b9..790f5afb11 100644 --- a/src/guide/installation.md +++ b/src/guide/installation.md @@ -117,7 +117,7 @@ $ yarn $ yarn dev ``` -Or with PNPM: +Or with pnpm: ```bash $ pnpm create vite --template vue From d46ec664c661a3570c8f63e172143ac14ff89699 Mon Sep 17 00:00:00 2001 From: Anjorin Damilare Date: Mon, 13 Dec 2021 07:17:30 +0100 Subject: [PATCH 4/4] chore(vite installation guide): commit suggestion Co-authored-by: skirtle <65301168+skirtles-code@users.noreply.github.com> --- src/guide/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/installation.md b/src/guide/installation.md index 790f5afb11..7cd93128a8 100644 --- a/src/guide/installation.md +++ b/src/guide/installation.md @@ -120,7 +120,7 @@ $ yarn dev Or with pnpm: ```bash -$ pnpm create vite --template vue +$ pnpm create vite -- --template vue $ cd $ pnpm install $ pnpm dev