File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -124,10 +124,12 @@ Vue.use(Particles);
124
124
```
125
125
126
126
``` javascript
127
- import { loadFull } from " tsparticles" ;
127
+ // import { loadFull } from "tsparticles"; // if you are going to use `loadFull`, install the "tsparticles" package too.
128
+ import { loadSlim } from " tsparticles-slim" ; // if you are going to use `loadSlim`, install the "tsparticles-slim" package too.
128
129
129
130
const particlesInit = async engine => {
130
- await loadFull (engine);
131
+ // await loadFull(engine);
132
+ await loadSlim (engine);
131
133
};
132
134
133
135
const particlesLoaded = async container => {
Original file line number Diff line number Diff line change @@ -124,10 +124,12 @@ Vue.use(Particles);
124
124
```
125
125
126
126
``` javascript
127
- import { loadFull } from " tsparticles" ;
127
+ // import { loadFull } from "tsparticles"; // if you are going to use `loadFull`, install the "tsparticles" package too.
128
+ import { loadSlim } from " tsparticles-slim" ; // if you are going to use `loadSlim`, install the "tsparticles-slim" package too.
128
129
129
130
const particlesInit = async engine => {
130
- await loadFull (engine);
131
+ // await loadFull(engine);
132
+ await loadSlim (engine);
131
133
};
132
134
133
135
const particlesLoaded = async container => {
Original file line number Diff line number Diff line change @@ -124,10 +124,12 @@ Vue.use(Particles);
124
124
```
125
125
126
126
``` javascript
127
- import { loadFull } from " tsparticles" ;
127
+ // import { loadFull } from "tsparticles"; // if you are going to use `loadFull`, install the "tsparticles" package too.
128
+ import { loadSlim } from " tsparticles-slim" ; // if you are going to use `loadSlim`, install the "tsparticles-slim" package too.
128
129
129
130
const particlesInit = async engine => {
130
- await loadFull (engine);
131
+ // await loadFull(engine);
132
+ await loadSlim (engine);
131
133
};
132
134
133
135
const particlesLoaded = async container => {
You can’t perform that action at this time.
0 commit comments