0.0.53 • Published 9 months ago
@bit-ocean/bootstrap-animation v0.0.53
@bit-ocean/bootstrap-animation
Universal bootstrap animation configuration, support Vite plugin.
Installation
pnpm add -D @bit-ocean/bootstrap-animationConfiguration
Vite
// vite.config.ts
import { BootstrapAnimation } from '@bit-ocean/bootstrap-animation'
export default defineConfig({
plugins: [BootstrapAnimation()]
})Next.js
// next.config.js
const { bootstrapLog } = require('@bit-ocean/bootstrap-animation')
bootstrapLog()React Native
// metro.config.js
const { bootstrapLog } = require('@bit-ocean/bootstrap-animation')
bootstrapLog()Rewrite default config
// vite.config.ts
import { BootstrapAnimation } from '@bit-ocean/bootstrap-animation'
export default defineConfig({
plugins: [
BootstrapAnimation({
author: ''
})
]
})