From 365736cd78cd21237d7604d18e833e9f71d016ce Mon Sep 17 00:00:00 2001 From: dumptyd Date: Sat, 31 Aug 2024 07:17:20 +0530 Subject: [PATCH] sunset v1 --- .github/workflows/gh-pages.yaml | 3 ++- README.md | 15 ++++++++++----- src/components/site/Demo.vue | 10 +++++----- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index 904c15a..c1cc29a 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -3,7 +3,7 @@ name: github-pages on: push: branches: - - master + - legacy jobs: build-deploy: @@ -29,3 +29,4 @@ jobs: keep_files: true publish_branch: gh-pages publish_dir: ./docs + destination_dir: legacy diff --git a/README.md b/README.md index 4fe665a..738ee26 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,15 @@
+ +>[!IMPORTANT] +> This is the documentation for the legacy version of `vue-css-donut-chart` which supports Vue 2 and is no longer maintained. However, it is stable and can be used in existing projects. If you are starting a new project or using Vue 3, consider using the latest version of the package which is written in TypeScript and supports Vue 3. + + | Using Vue 3? | | :- | -| Check out the [documentation for vue-css-donut-chart v2](https://github.com/dumptyd/vue-css-donut-chart/tree/next). | -| **NPM** - https://www.npmjs.com/package/vue-css-donut-chart/v/next | +| Check out the [documentation for vue-css-donut-chart v2](https://github.com/dumptyd/vue-css-donut-chart). | +| **NPM** - https://www.npmjs.com/package/vue-css-donut-chart/ | ## Live demo @@ -74,14 +79,14 @@ Playground – https://jsfiddle.net/dumptyd/ujvypcd3/ #### Install via `yarn` or `npm` ```console -yarn add vue-css-donut-chart +yarn add vue-css-donut-chart@legacy ```

OR

```console -npm install vue-css-donut-chart +npm install vue-css-donut-chart@legacy ``` #### Registering `vue-css-donut-chart` @@ -241,4 +246,4 @@ All the `section-*` listeners are called with the `section` object on which the ## License -Code released under [MIT](https://github.com/vue-css-donut-chart/vue-css-donut-chart/blob/master/LICENSE) license. +Code released under [MIT](https://github.com/dumptyd/vue-css-donut-chart/blob/legacy/LICENSE) license. diff --git a/src/components/site/Demo.vue b/src/components/site/Demo.vue index 0caf2f7..a749517 100644 --- a/src/components/site/Demo.vue +++ b/src/components/site/Demo.vue @@ -5,17 +5,17 @@
Lightweight component for drawing pure CSS donut charts