0.0.6 • Published 1 year ago

@raipiot-infra/bootstrap-animation v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@raipiot-infra/bootstrap-animation

npm

raipiot infra 启动动画模块,用于在启动项目时,命令行打印品牌动画,支持 Vite 插件。

安装

pnpm add -D @raipiot-infra/bootstrap-animation

配置

Vite

// vite.config.ts
import { BootstrapAnimation } from '@raipiot-infra/bootstrap-animation'

export default defineConfig({
  plugins: [BootstrapAnimation()]
})

Next.js

// next.config.js
const { bootstrapLog } = require('@raipiot-infra/bootstrap-animation')

bootstrapLog()

React Native

// metro.config.js
const { bootstrapLog } = require('@raipiot-infra/bootstrap-animation')

bootstrapLog()

重写默认配置

// vite.config.ts
import { BootstrapAnimation } from '@raipiot-infra/bootstrap-animation'

export default defineConfig({
  plugins: [
    BootstrapAnimation({
      author: ''
    })
  ]
})
0.0.5

1 year ago

0.0.6

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.4

1 year ago

0.0.1

1 year ago