Answer the question
In order to leave comments, you need to log in
How to properly connect the Vue.js plugin ( Nuxt )?
You need to connect the plugin to the project.
Tell me how to do it right?
In particular, I'm interested in the following:
1. Where to place the following code.
`require('vue2-animate/dist/vue2-animate.min.css')`
2. Where should the plugin be placed? PATH_TO_SOURCE
`$animationDuration: 0.5s; // specify animation duration. Default value: 1s
Dmitrijs Balcers "/src/sass/vue2-animate.scss";`
I would be very grateful if you could show me with an example.
Answer the question
In order to leave comments, you need to log in
In the plugins folder you create a file, connect what you need in it, call Vue.use(/*...*/)
it in the config, in the plugnis section, add the path to the file.
Start from the docks to the naxt , everything is described there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question