Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Vue.js: Understanding its Tools and Ecosystem

You're reading from   Vue.js: Understanding its Tools and Ecosystem Take a crash course in the main concepts and syntax of the Vue.js library

Arrow left icon
Product type Paperback
Published in Nov 2019
Publisher
ISBN-13 9781800206625
Length 194 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Dave Berning Dave Berning
Author Profile Icon Dave Berning
Dave Berning
Backstop Media LLC Backstop Media LLC
Author Profile Icon Backstop Media LLC
Backstop Media LLC
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface
1. Getting Started with Vue.js 2. Scaffolding Projects With Vue CLI 3 FREE CHAPTER 3. Navigation with Vue Router 4. State Management with Vuex 5. Debugging With Vue DevTools 6. Server-Side Rendering with Nuxt.js 7. Static Site Generation with VuePress 8. Mobile App Development with NativeScript for Vue.js 9. Greater Control of JavaScript and Type Casting with TypeScript 10. The Future of Vue.js and Adoption Rates

Getting Started With Vue CLI 3

To get started with Vue CLI 3, you should have NPM installed. If you do not have NPM installed, you should go ahead and download it as it’s needed for the CLI to run; it’s crucial for modern front-end web development these days. Once installed, run the following commands.

Note: You have the choice of using either NPM or Yarn. Yarn is like NPM but faster, more secure, and has offline compatibility; it’s created by Facebook and is compatible with NPM.

$ npm install -g @vue/cli
# or
$ yarn global add @vue/cli

$ vue create project-name

From here, you can select the default configuration, which contains a simple Webpack boilerplate with Babel and ESLint. It should ask you if you want to install all of the packages with either NPM or Yarn.

Note: Whichever you decide to use, stick with it!

If you scaffold your project with the custom option, you should see an array of options to choose from.

Vue CLI 3 options

To navigate up and down, use the arrow keys,...

You have been reading a chapter from
Vue.js: Understanding its Tools and Ecosystem
Published in: Nov 2019
Publisher:
ISBN-13: 9781800206625
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime