R
R
Roman2019-06-03 20:27:38
Vue.js
Roman, 2019-06-03 20:27:38

What is the best way to adapt documentation to Vue for Vue-cli?

Hello.
On the Vue offsite, the docks are written for Vue embedded in the page, but I have to work with Vue-cli and I am constantly confused by all these new Vue and the like, I start to get confused :(
Tell me, maybe there are docks for Vue-cli somewhere
Or maybe some mental hint)) so as not to get confused ?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BallooO0, 2019-06-04
@procode

First you need to understand what vue instance and vue component mean.
You can embed vue into a small project with simple functionality, create an instance in a js file and do whatever you want there. Vue CLI is a standard assembly from the framework, it has a main.js file, this is an input file, you can connect there to install what you want, for example, vue ruter or vue-bootstrap, everything is in the docks. For example, you decided to make a project based on an assembly from vue, in which there will be several pages and some kind of functionality, let's say how to build routing? you can shove where you need, you need to allow a table with some information to be displayed, for example, on the HOME page, but you also want to shove it to the ABOUT page,

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question