File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
apps/angular-demo/src/app Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,19 @@ import { NgFireworksModule } from 'ng-fireworks';
7
7
import { AppRoutingModule } from './app-routing.module' ;
8
8
import { AppComponent } from './app.component' ;
9
9
10
+ // Import and use the appropriate package for the desired Angular version
11
+ import { TsParticlesAngular7Module } from '@tsparticles/angular-7' ;
12
+ // or
13
+ import { TsParticlesAngular8Module } from '@tsparticles/angular-8' ;
14
+ // or
15
+ import { TsParticlesAngular9Module } from '@tsparticles/angular-9' ;
16
+ // or
17
+ import { TsParticlesAngular10Module } from '@tsparticles/angular-10' ;
18
+ // or
19
+ import { TsParticlesAngular11Module } from '@tsparticles/angular-11' ;
20
+ // or
21
+ import { TsParticlesAngular12Module } from '@tsparticles/angular-12' ;
22
+
10
23
@NgModule ( {
11
24
declarations : [ AppComponent ] ,
12
25
imports : [
@@ -15,6 +28,18 @@ import { AppComponent } from './app.component';
15
28
NgParticlesModule ,
16
29
NgConfettiModule ,
17
30
NgFireworksModule ,
31
+ // Add the appropriate package to the imports array based on the desired Angular version
32
+ TsParticlesAngular7Module ,
33
+ // or
34
+ TsParticlesAngular8Module ,
35
+ // or
36
+ TsParticlesAngular9Module ,
37
+ // or
38
+ TsParticlesAngular10Module ,
39
+ // or
40
+ TsParticlesAngular11Module ,
41
+ // or
42
+ TsParticlesAngular12Module
18
43
] ,
19
44
providers : [ ] ,
20
45
bootstrap : [ AppComponent ] ,
You can’t perform that action at this time.
0 commit comments