B
B
BallooO02019-05-10 17:00:29
Vue.js
BallooO0, 2019-05-10 17:00:29

How to inject a ready-made layout into a Vue.js assembly?

Hello everyone, I recently started learning vue.js, I have already figured out the standard assembly from vue cli. I checked what a view router is, clacked, sort of figured it out, but then there was a desire to integrate the finished layout from the old project into the vue assembly, the layout is naturally modular. I searched on the Internet and saw that in the standard assembly there are components and view components folders, this is understandable, but as I understand view, these are pages into which components are then integrated, if not, then correct it. When I started to integrate my layout, a bunch of errors flew in, the layout has a common style file in it, I import style files for each component. Can anyone explain how the view assembly structure is generally arranged, I would like, as in layout, to initially open the main page with the ability to navigate through pages, etc. I will be very grateful)
PS All the best :)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question