Vue-cli Why do I see that there are views directories in some people's projects?

is this used to put components? Why not just put it in the components? How is the catalogue of a large project designed? Do you have any practical examples for reference? Thank you

Sep.07,2021

views directory is used to put pages


look at personal habits, but I usually put the main page in views,components to put functional components. You can take a look at vue-element-admin,. It should give you some inspiration. https://github.com/PanJiaChen.


from an engineering point of view, the benefits of using views components `common` to divide directories:

1. ``
2.  ,
3. who 
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3eee7-2c436.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3eee7-2c436.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?