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 2 Web Development Projects

You're reading from   Vue.js 2 Web Development Projects Learn Vue.js by building 6 web apps

Arrow left icon
Product type Paperback
Published in Nov 2017
Publisher Packt
ISBN-13 9781787127463
Length 398 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
CHAU GUILLAUME CHAU GUILLAUME
Author Profile Icon CHAU GUILLAUME
CHAU GUILLAUME
Arrow right icon
View More author details
Toc

Advanced development workflow


In this first section, we will improve our development workflow with new tools and packages. However, first, we need to set up our Fashion Store project.

Setting up the project

  1. Generate a new project using the vue init command like we did in Chapter 5, Project 3 - Support Center, and Chapter 6, Project 4 - Geolocated Blog:
      vue init webpack-simple e-shop
      cd e-shop
      npm install
      npm install -S babel-polyfill
  1. We will also install stylus:
      npm i -D stylus stylus-loader
  1. Remove the content of the src folder. Then, download the sources files (https://github.com/Akryum/packt-vue-project-guide/tree/master/chapter7-download/src) and extract them in the src folder. Those contains all the app source code that have been already done so that we can move forward faster.
  2. We need to install a few more packages in the dependencies:
      npm i -S axios vue-router vuex vuex-router-sync

Note

axios is a great library for making requests to the server and is recommended...

lock icon The rest of the chapter is locked
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 $19.99/month. Cancel anytime