0 votes
in Education by (1.7m points)
recently I started to work on Vue js and I want to use a javascript plugin like Isotope

also I installed as:

npm install isotope-layout

here is my question, how can I use the plugin in my component?

I followed the jsfiddle but I got an error:

can't find #main element

thank you

JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by (1.7m points)
Try to use it like this:

// ES6

import isotope from 'isotope-layout'


export default {

      components: {