Is it possible to add dependencies manually in Vuejs?

Asked

Viewed 74 times

0

I’m starting my first project using the Framework Vue.JS, I know that by Vue UI it is possible to open the Vue CLI allowing us to add plugins and dependencies to the project.

I have dependencies that have been customized by myself and I need to add them to my project, would that be possible? I believe so, so how to do that? And I’m sorry if that kind of doubt does not fit in this area of the forum.

1 answer

1


I was able to find out here how it does, and for those who have the same difficulty, I will explain!

All your dependencies should be inserted inside the folder public as in the image below

inserir a descrição da imagem aqui

Next we should make the following reference in our components that will use the dependencies

inserir a descrição da imagem aqui

And finally must go file index.html and invoke dependencies as follows by passing the argument <%= BASE_URL %>

inserir a descrição da imagem aqui

  • 1

    You can already select your answer as definitive.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.