From 4e3e3c1d01b4c3afba2a1f343fa0f35cd408d48e Mon Sep 17 00:00:00 2001 From: Jeff Sagal Date: Tue, 22 Feb 2022 11:04:43 -0800 Subject: [PATCH] docs(vue3): add Vue 3 notes to install --- README.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 054a082..9d76b7b 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,19 @@ Huge thanks to the [sponsors](https://github.com/sponsors/sagalbot) and [contrib ## Install +> Vue 3 support is on the `beta` channel: `vue-select@beta`, and will become the new default when `v4` is released. See [#1579](https://github.com/sagalbot/vue-select/issues/1597) for more details! + + +**Vue 3 / Vue Select 4.x-beta** +```bash +yarn add vue-select@beta + +# or use npm + +npm install vue-select@beta +``` + +**Vue 2 / Vue Select 3.x** ```bash yarn add vue-select @@ -58,12 +71,6 @@ The component itself does not include any CSS. You'll need to include it separat import "vue-select/dist/vue-select.css"; ``` -Alternatively, you can import the scss for complete control of the component styles: - -```scss -@import "vue-select/src/scss/vue-select.scss"; -``` - You can also include vue-select directly in the browser. Check out the [documentation for loading from CDN.](https://vue-select.org/guide/install.html#in-the-browser).