Put in order · Vue.js course · Module 1: Vue and Vite

Advanced: Vue project structure hierarchy

Arrange the Vue project structure from the entry file to the component:

Items to put in order

  • main.js (JavaScript entry point)
  • App.vue (root component)
  • Child components (children)
  • index.html (base HTML file)
Show the answer

Correct order:

  1. index.html (base HTML file)
  2. main.js (JavaScript entry point)
  3. App.vue (root component)
  4. Child components (children)