Answer the question
In order to leave comments, you need to log in
How can particles.js be included in VueJS 2?
Tell me how to connect this library in VueJS 2, I still don’t understand how to do it))
<temaplate>
<div id="particles-js"></div>
</temaplate>
<script>
</script>
<style lang="sass">
#particles-js
position: absolute
top: 0
left: 0
z-index: 1
width: 100%
height: 100%
</style>
Answer the question
In order to leave comments, you need to log in
<template>
<div id="particles-js"></div>
</template>
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question