From 76e518787641e9849a4422ba909afbcaa07d05de Mon Sep 17 00:00:00 2001 From: abhijitdeepa Date: Fri, 14 Jun 2024 16:32:25 -0400 Subject: [PATCH] Adding bun to installation instructions --- docs/src/components/CodeExample.vue | 9 +++ docs/src/components/IconBun.vue | 93 +++++++++++++++++++++++++ docs/src/examples/installation/index.ts | 5 ++ 3 files changed, 107 insertions(+) create mode 100644 docs/src/components/IconBun.vue diff --git a/docs/src/components/CodeExample.vue b/docs/src/components/CodeExample.vue index 35fa1c0..fae80f2 100644 --- a/docs/src/components/CodeExample.vue +++ b/docs/src/components/CodeExample.vue @@ -12,6 +12,7 @@ import IconJavaScript from "./IconJavaScript.vue" import IconSvelte from "./IconSvelte.vue" import IconAngular from "./IconAngular.vue" import IconNuxt from "./IconNuxt.vue" +import IconBun from "./IconBun.vue" import { computed, ref } from "vue" import { vAutoAnimate } from "../../../src" import "../../assets/prism.css" @@ -30,6 +31,7 @@ type LanguageOption = | "npm" | "pnpm" | "nuxt" + | "bun" type Language = { ext: "jsx" | "vue" | "html" @@ -194,6 +196,13 @@ function copyCode(value: string) { > pnpm +
  • + bun +
  • + + Bun Logo + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/src/examples/installation/index.ts b/docs/src/examples/installation/index.ts index 473c0fd..42f0066 100644 --- a/docs/src/examples/installation/index.ts +++ b/docs/src/examples/installation/index.ts @@ -14,4 +14,9 @@ export default { language: "shell", title: "~/my-app", }, + bun:{ + example:"bun install @formkit/auto-animate", + language:"shell", + title:"~/my-app", + }, }