To use the firework component developed by vue, click on the component.

Try clicking on the screen

🔥props

  • [el]. The element that needs to bind firework effects.
  • [fireCanvasStyle]. Configuration of firework left and top properties.
  • 🎉use

  • yarn add vue-firework
  • import Vue from 'vue'
  • import VueFirework from 'vue-firework'