@bit-ocean/bootstrap-animation
TypeScript icon, indicating that this package has built-in type declarations

0.0.53 • Public • Published

@bit-ocean/bootstrap-animation

npm

Universal bootstrap animation configuration, support Vite plugin.

Installation

pnpm add -D @bit-ocean/bootstrap-animation

Configuration

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: ''
    })
  ]
})

Package Sidebar

Install

npm i @bit-ocean/bootstrap-animation

Weekly Downloads

14

Version

0.0.53

License

MIT

Unpacked Size

16 kB

Total Files

9

Last publish

Collaborators

  • brucesong
  • zhiblcx