From the course: Vue.js 2 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Understanding Vue CLI installations

Understanding Vue CLI installations

From the course: Vue.js 2 Essential Training

Start my 1-month free trial

Understanding Vue CLI installations

- [Instructor] Lets take a look at what we get when we install a project with the View CLI. So here I have a browser on the right hand side. And my project open in Visual Studio Code. And thankfully it has a built in terminal so we can go here to the terminal menu and select new terminal. You can use a separate terminal if you want. I'm going to issue an npm run serve command just to see the preview of the application running in this browser right here. Now that its done I can hold down the alt key and it'll open up this preview right here on a tab. So now I can close the panel. That command will still be running. And as you can see the read me file has all the different commands that you can run. We've already run the npm run serve command which is what allows us to see a preview of the application here. But you can also run a build command by using npm run build. That's going to prepare the project for your server. So its going to compress all the files minimize everything and…

Contents