Skip to content

Commit 501264d

Browse files
committed
build: post merge fixes
1 parent 465e16f commit 501264d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

components/vue3/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@
6767
"typecheck": "vue-tsc --noEmit",
6868
"lint": "echo eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
6969
},
70+
"files": [
71+
"dist",
72+
"README.md"
73+
],
7074
"repository": {
7175
"url": "https://github.com/tsparticles/vue3",
7276
"type": "git",

components/vue3/src/components/vue-particles.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
</template>
44

55
<script setup lang="ts">
6-
import { nextTick, onMounted, onUnmounted } from "vue";
76
import { type Container, type ISourceOptions, type Engine, tsParticles } from "@tsparticles/engine";
7+
import { nextTick, onMounted, onUnmounted } from "vue";
88
99
export type IParticlesProps = ISourceOptions;
1010
@@ -58,6 +58,7 @@ onUnmounted(() => {
5858
}
5959
6060
container.destroy();
61+
6162
container = undefined;
6263
});
6364
</script>

0 commit comments

Comments
 (0)