Skip to content

Commit fec039a

Browse files
authored
Merge pull request #50 from zhaolinlau/main
update loadslim package name(docs)
2 parents f77332b + dbcd65a commit fec039a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ yarn add @tsparticles/vue3
2121
```javascript
2222
import Particles from "@tsparticles/vue3";
2323
//import { loadFull } from "tsparticles"; // if you are going to use `loadFull`, install the "tsparticles" package too.
24-
import { loadSlim } from "tsparticles-slim"; // if you are going to use `loadSlim`, install the "tsparticles-slim" package too.
24+
import { loadSlim } from "@tsparticles/slim"; // if you are going to use `loadSlim`, install the "@tsparticles/slim" package too.
2525

2626
createApp(App).use(Particles, {
2727
init: async engine => {
2828
// await loadFull(engine); // you can load the full tsParticles library from "tsparticles" if you need it
29-
await loadSlim(engine); // or you can load the slim version from "tsparticles-slim" if don't need Shapes or Animations
29+
await loadSlim(engine); // or you can load the slim version from "@tsparticles/slim" if don't need Shapes or Animations
3030
},
3131
});
3232
```

components/vue3/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ yarn add @tsparticles/vue3
2121
```javascript
2222
import Particles from "@tsparticles/vue3";
2323
//import { loadFull } from "tsparticles"; // if you are going to use `loadFull`, install the "tsparticles" package too.
24-
import { loadSlim } from "tsparticles-slim"; // if you are going to use `loadSlim`, install the "tsparticles-slim" package too.
24+
import { loadSlim } from "@tsparticles/slim"; // if you are going to use `loadSlim`, install the "@tsparticles/slim" package too.
2525

2626
createApp(App).use(Particles, {
2727
init: async engine => {
2828
// await loadFull(engine); // you can load the full tsParticles library from "tsparticles" if you need it
29-
await loadSlim(engine); // or you can load the slim version from "tsparticles-slim" if don't need Shapes or Animations
29+
await loadSlim(engine); // or you can load the slim version from "@tsparticles/slim" if don't need Shapes or Animations
3030
},
3131
});
3232
```

0 commit comments

Comments
 (0)