Put in order · Vue.js course · Module 1: Vue and Vite
Vue application startup sequence
Arrange the order of starting a Vue application:
Items to put in order
- createApp() creates the instance
- app.mount('#app') mounts the application
- Browser loads index.html
- Vite loads main.ts
Show the answer
Correct order:
- Browser loads index.html
- Vite loads main.ts
- createApp() creates the instance
- app.mount('#app') mounts the application