Merge pull request #33 from BuptStEve/main

docs: add missing installation, npm i -> npm install
This commit is contained in:
David
2025-07-18 09:50:30 +03:00
committed by GitHub
14 changed files with 15 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ import type { CodeObject } from '../../../types/code';
export const blobCursor: CodeObject = { export const blobCursor: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Animations/BlobCursor`, cli: `npx jsrepo add https://vue-bits.dev/ui/Animations/BlobCursor`,
installation: `npm i gsap`, installation: `npm install gsap`,
usage: `<template> usage: `<template>
<BlobCursor <BlobCursor
blobType="circle" blobType="circle"

View File

@@ -3,7 +3,7 @@ import type { CodeObject } from '../../../types/code';
export const imageTrail: CodeObject = { export const imageTrail: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Animations/ImageTrail`, cli: `npx jsrepo add https://vue-bits.dev/ui/Animations/ImageTrail`,
installation: `npm i gsap`, installation: `npm install gsap`,
usage: `<template> usage: `<template>
<div :style="{ height: '500px', position: 'relative', overflow: 'hidden'}"> <div :style="{ height: '500px', position: 'relative', overflow: 'hidden'}">
<ImageTrail <ImageTrail

View File

@@ -3,7 +3,7 @@ import type { CodeObject } from '../../../types/code';
export const metaBalls: CodeObject = { export const metaBalls: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Animations/MetaBalls`, cli: `npx jsrepo add https://vue-bits.dev/ui/Animations/MetaBalls`,
installation: `npm i ogl`, installation: `npm install ogl`,
usage: `<template> usage: `<template>
<MetaBalls <MetaBalls
color="#27ff64" color="#27ff64"

View File

@@ -3,7 +3,7 @@ import type { CodeObject } from '../../../types/code';
export const ballpit: CodeObject = { export const ballpit: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/Ballpit`, cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/Ballpit`,
installation: `npm i three`, installation: `npm install three @types/three gsap`,
usage: `//Component inspired by Kevin Levron: usage: `//Component inspired by Kevin Levron:
//https://x.com/soju22/status/1858925191671271801 //https://x.com/soju22/status/1858925191671271801

View File

@@ -3,7 +3,7 @@ import type { CodeObject } from '../../../types/code';
export const beams: CodeObject = { export const beams: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/Beams`, cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/Beams`,
installation: `npm install three`, installation: `npm install three @types/three`,
usage: `<template> usage: `<template>
<div class="beams-container"> <div class="beams-container">
<Beams <Beams

View File

@@ -3,7 +3,7 @@ import type { CodeObject } from '../../../types/code';
export const gridDistortion: CodeObject = { export const gridDistortion: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/GridDistortion`, cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/GridDistortion`,
installation: `npm i three`, installation: `npm install three @types/three`,
usage: `<template> usage: `<template>
<div class="relative w-full h-[600px]"> <div class="relative w-full h-[600px]">
<GridDistortion <GridDistortion

View File

@@ -3,7 +3,7 @@ import type { CodeObject } from '../../../types/code';
export const gridMotion: CodeObject = { export const gridMotion: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/GridMotion`, cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/GridMotion`,
installation: `npm i gsap`, installation: `npm install gsap`,
usage: `<template> usage: `<template>
<GridMotion <GridMotion
:items="images" :items="images"

View File

@@ -3,10 +3,10 @@ import type { CodeObject } from '../../../types/code';
export const liquidChrome: CodeObject = { export const liquidChrome: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/LiquidChrome`, cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/LiquidChrome`,
installation: `npm i ogl`, installation: `npm install ogl`,
usage: `<template> usage: `<template>
<div class="relative w-full h-[600px]"> <div class="relative w-full h-[600px]">
<LiquidChrome <LiquidChrome
:baseColor="[0.1, 0.1, 0.1]" :baseColor="[0.1, 0.1, 0.1]"
:speed="1" :speed="1"
:amplitude="0.6" :amplitude="0.6"

View File

@@ -3,7 +3,7 @@ import type { CodeObject } from '../../../types/code';
export const orb: CodeObject = { export const orb: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/Orb`, cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/Orb`,
installation: `npm i ogl`, installation: `npm install ogl`,
usage: `<template> usage: `<template>
<div class="relative w-full h-[600px]"> <div class="relative w-full h-[600px]">
<Orb :hoverIntensity="0.5" :rotateOnHover="true" :hue="0" :forceHoverState="false" /> <Orb :hoverIntensity="0.5" :rotateOnHover="true" :hue="0" :forceHoverState="false" />

View File

@@ -3,7 +3,7 @@ import type { CodeObject } from '../../../types/code';
export const shapeBlur: CodeObject = { export const shapeBlur: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/ShapeBlur`, cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/ShapeBlur`,
installation: `npm install three`, installation: `npm install three @types/three`,
usage: `<template> usage: `<template>
<ShapeBlur <ShapeBlur
:variation="0" :variation="0"

View File

@@ -3,6 +3,7 @@ import type { CodeObject } from '../../../types/code';
export const stack: CodeObject = { export const stack: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/Components/Stack`, cli: `npx jsrepo add https://vue-bits.dev/ui/Components/Stack`,
installation: `npm install motion-v`,
usage: `<template> usage: `<template>
<Stack <Stack
:randomRotation="true" :randomRotation="true"

View File

@@ -3,7 +3,7 @@ import type { CodeObject } from '../../../types/code';
export const rotatingText: CodeObject = { export const rotatingText: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/TextAnimations/RotatingText`, cli: `npx jsrepo add https://vue-bits.dev/ui/TextAnimations/RotatingText`,
installation: `npm i motion-v`, installation: `npm install motion-v`,
usage: `<template> usage: `<template>
<RotatingText <RotatingText
:texts="['Vue', 'Bits', 'is', 'Cool!']" :texts="['Vue', 'Bits', 'is', 'Cool!']"

View File

@@ -3,6 +3,7 @@ import type { CodeObject } from '../../../types/code';
export const scrollFloatCode: CodeObject = { export const scrollFloatCode: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/TextAnimations/ScrollFloat`, cli: `npx jsrepo add https://vue-bits.dev/ui/TextAnimations/ScrollFloat`,
installation: `npm install gsap`,
usage: `<template> usage: `<template>
<ScrollFloat <ScrollFloat
:children="scrollText" :children="scrollText"

View File

@@ -3,6 +3,7 @@ import type { CodeObject } from '../../../types/code';
export const scrollRevealCode: CodeObject = { export const scrollRevealCode: CodeObject = {
cli: `npx jsrepo add https://vue-bits.dev/ui/TextAnimations/ScrollReveal`, cli: `npx jsrepo add https://vue-bits.dev/ui/TextAnimations/ScrollReveal`,
installation: `npm install gsap`,
usage: `<template> usage: `<template>
<ScrollReveal <ScrollReveal
:children="scrollText" :children="scrollText"