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);
124124```
125125
126126``` 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.
128129
129130const particlesInit = async engine => {
130- await loadFull (engine);
131+ // await loadFull(engine);
132+ await loadSlim (engine);
131133};
132134
133135const particlesLoaded = async container => {
Original file line number Diff line number Diff line change @@ -124,10 +124,12 @@ Vue.use(Particles);
124124```
125125
126126``` 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.
128129
129130const particlesInit = async engine => {
130- await loadFull (engine);
131+ // await loadFull(engine);
132+ await loadSlim (engine);
131133};
132134
133135const particlesLoaded = async container => {
Original file line number Diff line number Diff line change @@ -124,10 +124,12 @@ Vue.use(Particles);
124124```
125125
126126``` 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.
128129
129130const particlesInit = async engine => {
130- await loadFull (engine);
131+ // await loadFull(engine);
132+ await loadSlim (engine);
131133};
132134
133135const particlesLoaded = async container => {
You can’t perform that action at this time.
0 commit comments