Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Learning Vue.js 2

You're reading from   Learning Vue.js 2 Learn how to build amazing reactive web applications easily with Vue.js

Arrow left icon
Product type Paperback
Published in Dec 2016
Publisher Packt
ISBN-13 9781786469946
Length 334 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Olga Filipova Olga Filipova
Author Profile Icon Olga Filipova
Olga Filipova
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Learning Vue.js 2
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Dedication
Preface
1. Going Shopping with Vue.js 2. Fundamentals – Installing and Using FREE CHAPTER 3. Components – Understanding and Using 4. Reactivity – Binding Data to Your Application 5. Vuex – Managing State in Your Application 6. Plugins – Building Your House with Your Own Bricks 7. Testing – Time to Test What We Have Done So Far! 8. Deploying – Time to Go Live! 9. What Is Next? 10. Solutions to Exercises

Scaffolding our applications


Do you remember the two applications that we started to work on in the first chapter, the shopping list application and the Pomodoro one? In this section, we will scaffold these applications using the vue-cli tool in order for them to be ready to contain reusable components, be tested, and be deployed. Once we bootstrap these applications, we will work on them until the end of this book. So let's do it carefully and with lots of love!

Scaffolding the shopping list application

We will scaffold the shopping list application using vue-cli Webpack configuration.

Tip

In case you have ignored all previous practical exercises related to vue-cli, do not forget to install it before proceeding to the next steps: npm install -g vue-cli

If you already have vue-cli installed, go to the directory where you want to bootstrap the application and run the following:

vue init webpack shopping-list

Answer yes to all the questions (just click enter) and voilà! You have the application...

You have been reading a chapter from
Learning Vue.js 2
Published in: Dec 2016
Publisher: Packt
ISBN-13: 9781786469946
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 $15.99/month. Cancel anytime
Visually different images