mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 06:29:30 -07:00
update cli command
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -13,7 +13,7 @@ dist
|
|||||||
dist-ssr
|
dist-ssr
|
||||||
coverage
|
coverage
|
||||||
*.local
|
*.local
|
||||||
public/components
|
public/ui
|
||||||
|
|
||||||
/cypress/videos/
|
/cypress/videos/
|
||||||
/cypress/screenshots/
|
/cypress/screenshots/
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "npm run build:registry && run-p type-check \"build-only {@}\" --",
|
"build": "npm run build:registry && run-p type-check \"build-only {@}\" --",
|
||||||
"build:registry": "jsrepo build --dirs ./src/content --output-dir ./public/components",
|
"build:registry": "jsrepo build --dirs ./src/content --output-dir ./public/ui",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"build-only": "vite build",
|
"build-only": "vite build",
|
||||||
"type-check": "vue-tsc --build",
|
"type-check": "vue-tsc --build",
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
<p class="demo-extra-info">1. Initialize a config file for your project</p>
|
<p class="demo-extra-info">1. Initialize a config file for your project</p>
|
||||||
|
|
||||||
<div class="setup-option">
|
<div class="setup-option">
|
||||||
<VCodeBlock :persistent-copy-button="true" code="npx jsrepo init https://vue-bits.dev" highlightjs
|
<VCodeBlock :persistent-copy-button="true" code="npx jsrepo init https://vue-bits.dev/ui" highlightjs
|
||||||
lang="bash" theme="nord" :copy-button="true" class="code-block" />
|
lang="bash" theme="nord" :copy-button="true" class="code-block" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import code from '@content/Animations/FadeContent/FadeContent.vue?raw'
|
|||||||
import type { CodeObject } from '../../../types/code'
|
import type { CodeObject } from '../../../types/code'
|
||||||
|
|
||||||
export const fadeContent: CodeObject = {
|
export const fadeContent: CodeObject = {
|
||||||
cli: `npx jsrepo add https://vue-bits.dev/Animations/FadeContent`,
|
cli: `npx jsrepo add https://vue-bits.dev/ui/Animations/FadeContent`,
|
||||||
usage: `<template>
|
usage: `<template>
|
||||||
<FadeContent
|
<FadeContent
|
||||||
:blur="true"
|
:blur="true"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import code from '@content/Backgrounds/DotGrid/DotGrid.vue?raw'
|
|||||||
import type { CodeObject } from '../../../types/code'
|
import type { CodeObject } from '../../../types/code'
|
||||||
|
|
||||||
export const dotGrid: CodeObject = {
|
export const dotGrid: CodeObject = {
|
||||||
cli: `npx jsrepo add https://vue-bits.dev/Backgrounds/DotGrid`,
|
cli: `npx jsrepo add https://vue-bits.dev/ui/Backgrounds/DotGrid`,
|
||||||
installation: `npm install gsap`,
|
installation: `npm install gsap`,
|
||||||
usage: `<template>
|
usage: `<template>
|
||||||
<div class="dot-grid-container">
|
<div class="dot-grid-container">
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import code from '@content/Components/Masonry/Masonry.vue?raw'
|
|||||||
import type { CodeObject } from '../../../types/code'
|
import type { CodeObject } from '../../../types/code'
|
||||||
|
|
||||||
export const masonry: CodeObject = {
|
export const masonry: CodeObject = {
|
||||||
cli: `npx jsrepo add https://vue-bits.dev/Components/Masonry`,
|
cli: `npx jsrepo add https://vue-bits.dev/ui/Components/Masonry`,
|
||||||
installation: `npm install gsap`,
|
installation: `npm install gsap`,
|
||||||
usage: `<template>
|
usage: `<template>
|
||||||
<Masonry
|
<Masonry
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import code from '@content/TextAnimations/SplitText/SplitText.vue?raw'
|
|||||||
import type { CodeObject } from '../../../types/code'
|
import type { CodeObject } from '../../../types/code'
|
||||||
|
|
||||||
export const splitText: CodeObject = {
|
export const splitText: CodeObject = {
|
||||||
cli: `npx jsrepo add https://vue-bits.dev/TextAnimations/SplitText`,
|
cli: `npx jsrepo add https://vue-bits.dev/ui/TextAnimations/SplitText`,
|
||||||
installation: `npm install gsap`,
|
installation: `npm install gsap`,
|
||||||
usage: `<template>
|
usage: `<template>
|
||||||
<SplitText
|
<SplitText
|
||||||
|
|||||||
Reference in New Issue
Block a user