Vue imitates Ele.me study notes step by step

Install

# 全局安装 vue-cli
$ npm install --global vue-cli
# 创建一个基于 webpack 模板的新项目
$ vue init webpack my-project
# 安装依赖,走你
$ cd my-project
$ npm run dev

icon font maker

  1. https://icomoon.io/app/#/select
  2. Import Icons (/Users/beanho/Sites/vue-sell/resource/SVG/*)
  3. Select the upload icon, Generate Font
  4. Font Name (sell), Download

project directory

vue-sell/src

├── App.vue
├── common
│   ├── fonts
│   ├── js
│   └── stylus
├── components
│   └── 
├── main.js
└── router
    └── index.js

mock data

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325525873&siteId=291194637