File tree Expand file tree Collapse file tree 4 files changed +646
-521
lines changed
Expand file tree Collapse file tree 4 files changed +646
-521
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,10 @@ import Particles from "@tsparticles/vue2";
2424import { loadSlim } from " @tsparticles/slim" ; // if you are going to use `loadSlim`, install the "@tsparticles/slim" package too.
2525
2626Vue .use (Particles, {
27- init: async ( engine ) => {
27+ init: async engine => {
2828 // await loadFull(engine);
2929 await loadSlim (engine);
30-
31- }
30+ },
3231});
3332```
3433
@@ -37,18 +36,14 @@ Vue.use(Particles, {
3736``` html
3837<template >
3938 <div id =" app" >
40- <vue-particles
41- id =" tsparticles"
42- :particlesLoaded =" particlesLoaded"
43- url =" http://foo.bar/particles.json"
44- />
39+ <vue-particles id =" tsparticles" :particlesLoaded =" particlesLoaded" url =" http://foo.bar/particles.json" />
4540
4641 <!-- or -->
4742
4843 <vue-particles
49- id =" tsparticles"
50- :particlesLoaded =" particlesLoaded"
51- :options =" {
44+ id =" tsparticles"
45+ :particlesLoaded =" particlesLoaded"
46+ :options =" {
5247 background: {
5348 color: {
5449 value: '#0d47a1'
Original file line number Diff line number Diff line change @@ -24,11 +24,10 @@ import Particles from "@tsparticles/vue2";
2424import { loadSlim } from " @tsparticles/slim" ; // if you are going to use `loadSlim`, install the "@tsparticles/slim" package too.
2525
2626Vue .use (Particles, {
27- init: async ( engine ) => {
27+ init: async engine => {
2828 // await loadFull(engine);
2929 await loadSlim (engine);
30-
31- }
30+ },
3231});
3332```
3433
@@ -37,11 +36,7 @@ Vue.use(Particles, {
3736``` html
3837<template >
3938 <div id =" app" >
40- <vue-particles
41- id =" tsparticles"
42- :particlesLoaded =" particlesLoaded"
43- url =" http://foo.bar/particles.json"
44- />
39+ <vue-particles id =" tsparticles" :particlesLoaded =" particlesLoaded" url =" http://foo.bar/particles.json" />
4540
4641 <!-- or -->
4742
Original file line number Diff line number Diff line change 77 },
88 "license" : " MIT" ,
99 "dependencies" : {
10- "@commitlint/cli" : " ^17.6.7 " ,
11- "@commitlint/config-conventional" : " ^17.6.7 " ,
10+ "@commitlint/cli" : " ^18.4.3 " ,
11+ "@commitlint/config-conventional" : " ^18.4.3 " ,
1212 "husky" : " ^8.0.3" ,
13- "lerna" : " ^7.1.4 "
13+ "lerna" : " ^8.0.1 "
1414 },
1515 "workspaces" : [
1616 " apps/*" ,
You can’t perform that action at this time.
0 commit comments