Skip to content

Commit a4dce27

Browse files
feat: Updated apps/angular-demo/src/app/app.module
1 parent 51555d5 commit a4dce27

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

apps/angular-demo/src/app/app.module.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ import { NgFireworksModule } from 'ng-fireworks';
77
import { AppRoutingModule } from './app-routing.module';
88
import { AppComponent } from './app.component';
99

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+
1023
@NgModule({
1124
declarations: [AppComponent],
1225
imports: [
@@ -15,6 +28,18 @@ import { AppComponent } from './app.component';
1528
NgParticlesModule,
1629
NgConfettiModule,
1730
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
1843
],
1944
providers: [],
2045
bootstrap: [AppComponent],

0 commit comments

Comments
 (0)