Skip to content

Commit 3a6cab0

Browse files
committed
build: updated docs
1 parent d695430 commit 3a6cab0

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

129130
const particlesInit = async engine => {
130-
await loadFull(engine);
131+
//await loadFull(engine);
132+
await loadSlim(engine);
131133
};
132134

133135
const particlesLoaded = async container => {

components/vue2-alt/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

129130
const particlesInit = async engine => {
130-
await loadFull(engine);
131+
//await loadFull(engine);
132+
await loadSlim(engine);
131133
};
132134

133135
const particlesLoaded = async container => {

components/vue2/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

129130
const particlesInit = async engine => {
130-
await loadFull(engine);
131+
//await loadFull(engine);
132+
await loadSlim(engine);
131133
};
132134

133135
const particlesLoaded = async container => {

0 commit comments

Comments
 (0)