Particle js background for angular project?

后端 未结 3 1966
眼角桃花
眼角桃花 2021-02-04 15:52

Can anyone explain how to add particle js background for angular 6 project? I followed some tutorials as bellow link.but it didn\'t work for me. https://github.com/VincentGarrea

3条回答
  •  清酒与你
    2021-02-04 16:34

    You can easily implement particle animation using "angular-particle" which is an implementation of particle.js with TypeScript for Angular

    It's implementation is pretty straight forward and you can find it in link below https://www.npmjs.com/package/angular-particle

    Edited:

    Here is the running example of angular-particle in angular 8 https://github.com/SunnyMakode/angular-particle-demo

    Once you pull the code from github,

    1. type "npm install --save" and hit enter from terminal window
    2. type "ng serve" and hit enter

提交回复
热议问题