Report this

What is the reason for this report?

In the tutorial where component was used, was there any main.js file to kickstart the program?

Posted on April 23, 2022

I have been following up with the tutorial (How To Generate a Vue.js Single Page App With the Vue CLI) which I found easy to understand, but I could not understand how this would work without the file (main.js). I would appreciate it if any one explain to me why we were ignoring this file.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @sarmadalsaadi,

The file should be generated automatically when you follow this step: https://www.digitalocean.com/community/tutorials/how-to-generate-a-vue-js-single-page-app-with-vue-create#step-2-generating-a-single-page-application

Have you run into a problem with it?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.