Giter Club home page Giter Club logo

supermall's Introduction

项目部署

  • 克隆本项目代码:

    git clone https://github.com/luckyu2/supermall.git
    
  • 安装项目依赖

    npm install
    
  • 本地预览

     npm run serve 
    
    • 打包文件
    npm run build
    

项目介绍

使用vue框架开发的一个手机端商城项目demo,拥有首页,分类,商品详情,购物车,个人五个页面。

接口开发

  • 前往mallAPI .下载对应文件。

  • 安装依赖环境,默认命令 npm start)

  • 修改src/network/request.js 文件中的数据接口baseURL

  • baseURL为http://localhost:3000

    const instance = axios.create({
        baseURL: "修改为你的数据接口",
        timeout: 5000
      })
    
  • 备注: app.js里面的路由配置,基本上和coderwhy老师提供的api接口路径是一致的, 有兴趣可以在其基础上添加更多的东西,如果觉得麻烦,可以加coderwhy老师wx获取

项目开发文档

博客

致谢:

​ 感谢coderwhy提供可以学习的项目

supermall's People

Contributors

luckyu2 avatar yusisheng avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.