mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 22:49:31 -07:00
Merge pull request #33 from BuptStEve/main
docs: add missing installation, npm i -> npm install
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ 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
|
||||||
|
|||||||
@@ -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" />
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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!']"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user