0.0.6 • Published 2 years ago

@raipiot-infra/bootstrap-animation v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.4

2 years ago

0.0.1

2 years ago