I. Introduction
Today began going to spend six days to complete a grocery shopping app vue based here about the process of recording projects and pit for the first time to do this project encountered and the solutions
II. The first step is to install scaffolding
Scaffolding is installed using npm install scaffolding tutorial refer to my other blog post https://www.cnblogs.com/chenglianjie/p/11976571.html
I chose some of the custom installation option to choose according to their own individual needs
III. To build a good project framework
According to the content of the project scaffolding inside to change deleted excision of change on a whim Here is my project structure only changed the src folder inside
view put page
components placed inside view of some of the components
put some config global configuration
imges put pictures of
plugins put the plug used in the development of
router routing ripped out
store vuex
Some operations service server
style put style
IV. Configuring Routing and some details
1. Configure the name and icon at the top of the browser index.html under public
2. Configure fastclick
npm i fastclick --save After the configuration can be seen package.json
Then configure the look good in a global reference in main.js