D
D
danilr2019-06-17 18:58:00
Vue.js
danilr, 2019-06-17 18:58:00

How to connect an accordion plugin without a faucet?

There is a plugin that is installed via npm, but I need to install it without any npm and assemblers. How not to connect it so that it works (where and what to prescribe)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2019-06-17
@danilr

Connect via tags scriptvue.js itself and the dist assembly of the plugin https://github.com/phegman/v-show-slide/blob/maste...
In principle, the plugin is simple there, you can make it online with tools:
Here https://es6console.com/ we transpile to es5
Here https://skalman.github.io/UglifyJS-online/ we minify
Which we save to ourselves in a file, connect via script, and use:

Vue.use(vShowSlide, {
  customEasing: {
    exampleEasing: 'cubic-bezier(0.68, -0.55, 0.265, 1.55)'
  }
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question