G
G
gpyshenko2017-06-05 12:10:01
Vue.js
gpyshenko, 2017-06-05 12:10:01

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>

Here is a link to the link , I beg you to help me, I really really want to use it, but I still don’t understand how to connect third-party scripts))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lee Masagos, 2017-06-05
@gpyshenko

<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 question

Ask a Question

731 491 924 answers to any question