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.
vue init webpack-simple e-shop
cd e-shop
npm install
npm install -S babel-polyfill
- We will also install stylus:
npm i -D stylus stylus-loader
- 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 thesrc
folder. Those contains all the app source code that have been already done so that we can move forward faster. - We need to install a few more packages in the dependencies:
npm i -S axios vue-router vuex vuex-router-sync