mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 22:49:31 -07:00
Add presets utility to hyperspeed code object
This commit is contained in:
@@ -1,8 +1,10 @@
|
|||||||
import code from '@content/Backgrounds/Hyperspeed/Hyperspeed.vue?raw';
|
import code from '@content/Backgrounds/Hyperspeed/Hyperspeed.vue?raw';
|
||||||
|
import presets from '@content/Backgrounds/Hyperspeed/HyperspeedPresets.ts?raw';
|
||||||
import { createCodeObject } from '../../../types/code';
|
import { createCodeObject } from '../../../types/code';
|
||||||
|
|
||||||
export const hyperspeed = createCodeObject(code, 'Backgrounds/Hyperspeed', {
|
export const hyperspeed = createCodeObject(code, 'Backgrounds/Hyperspeed', {
|
||||||
installation: `npm install three postprocessing`,
|
installation: `npm install three postprocessing`,
|
||||||
|
utility: presets,
|
||||||
usage: `<template>
|
usage: `<template>
|
||||||
<div class="hyperspeed-container">
|
<div class="hyperspeed-container">
|
||||||
<Hyperspeed :effect-options="effectOptions" />
|
<Hyperspeed :effect-options="effectOptions" />
|
||||||
|
|||||||
Reference in New Issue
Block a user