Skip to content

Commit fdb8633

Browse files
committed
build: updated deps and run linter
1 parent aae10bc commit fdb8633

File tree

4 files changed

+646
-521
lines changed

4 files changed

+646
-521
lines changed

README.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ import Particles from "@tsparticles/vue2";
2424
import { loadSlim } from "@tsparticles/slim"; // if you are going to use `loadSlim`, install the "@tsparticles/slim" package too.
2525

2626
Vue.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'

components/vue2/README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ import Particles from "@tsparticles/vue2";
2424
import { loadSlim } from "@tsparticles/slim"; // if you are going to use `loadSlim`, install the "@tsparticles/slim" package too.
2525

2626
Vue.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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
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/*",

0 commit comments

Comments
 (0)